Site logo

Archived topic

Child theme customization is lost

2 replies · Started by Carlos León on September 26, 2014

Viewing posts 1–3 of 3

Hello,

I'm building a child theme from GeneratePress, but i'm having troubles.

When i set the container grid width to 800px, it's still 1100px.
The same with site title font-size: i set it to 30px, but resolve with 50px.

I'm using all addons that i'm recently bougth.

I've seen that custom css style tag is injected before other css import <link rel="stylesheet" id="generate-child-css" href="http://130.211.96.7/wp-content/themes/ies/style.css?ver=1.1.8" type="text/css" media="all">

How can i fix that order?

Hi Carlos,

In your child theme's CSS, don't @import the parent theme's stylesheet, as GeneratePress includes it much more efficiently than using @import, which has performance issues.

If you remove the @import line, these issues should go away.

Let me know :)

Yes!

I've remove the @import line in style.css and everything goes correct!

Thank you!

This archived topic is closed to new replies.