Site logo

Archived topic

childtheme

3 replies · Started by Fabian Cosmann on March 29, 2015

Viewing posts 1–4 of 4

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");

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.

Wow Tom,

you are a genius!

Thank you!

Happy to help! :)

This archived topic is closed to new replies.