[Resolved] childtheme

Home Forums Support [Resolved] childtheme

Home Forums Support childtheme

  • This topic has 3 replies, 2 voices, and was last updated 9 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #93228
    Fabian Cosmann

    Hi Tom,

    to avoid overwriting my changes with new versions I created a child theme.
    I don’t know what I made wrong but the menu behavior is strange. Sub menus are overlaying the main menu if hovered over and if I reduce the window size, the menu disappears.
    Also some buttons have gray colors instead of blue.
    I copied all individual files into the child folder and created a file with following content. Than I activated the theme:

    Can you please help?

    Thank you

    /*
    Theme Name: Generatepress Child
    Description: Generatepress Childtheme
    Author:
    Author URI:
    Template: generatepress
    Version: 1.0
    Tags:
    */
    @import url(“../generatepress/style.css”);

    #93238
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Remove this below line and you should be good to go!

    @import url("../generatepress/style.css");

    GeneratePress enqueues the parent theme style.css file if a child theme is set in a better performing way than using @import.

    Removing that line should fix all the weird issues you’re seeing.

    #93239
    Fabian Cosmann

    Wow Tom,

    you are a genius!

    Thank you!

    #93240
    Tom
    Lead Developer
    Lead Developer

    Happy to help! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.