WordPress.org

Forums

Virtue
[resolved] @import Google Font, child theme breaks menu & more (3 posts)

  1. earthsprite
    Member
    Posted 1 year ago #

    I can't @import a Google Font that's not on your list into the custom CSS Theme Options window, probably because @import functions need to be the first line of CSS? So I tried to create a child theme but it broke a lot of things like the top nav menu (when importing virtue/assets/css/virtue.css ).

    I looked 17 pages back on support but I don't see much on child themes, or a tutorial on your site.

    Any advice? Anything particular I should do to make a child theme work with Virtue/bootstrap?

    Thanks.

    As a note, it's extremely disconcerting to see CSS with no line breaks! My eyes cross :P.

  2. Kadence Themes
    Member
    Theme Author

    Posted 1 year ago #

    Hey,
    When you create a child theme you don't need to import any css from the parent theme. It does it all for you, just have this is your css:

    /*
    Theme Name: Virtue – Child
    Theme URI: http://themes.kadencethemes.com/virtue-premium/
    Description: Child theme for Virtue
    Author: Kadence Themes
    Author URI: http://www.kadencethemes.com/
    Template: virtue
    Version: 1.0.0
    */

    Kadence Themes

  3. earthsprite
    Member
    Posted 1 year ago #

    Whoops, complete brain fart. Problem is the menu's still not showing up. Could it have to do with updating the Virtue Toolkit? I did that today, too.

    EDIT: Yep, okay, got it. Somehow the Theme Location (Topbar) had gotten unchecked after I updated.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic