[Resolved] Child theme customization is lost

Home Forums Support Child theme customization is lost

  • This topic has 2 replies, 2 voices, and was last updated 6 years ago by Carlos León.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34456
    Carlos León

    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&#8243; type=”text/css” media=”all”>

    How can i fix that order?

    #34510
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #34907
    Carlos León

    Yes!

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

    Thank you!

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