Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #791128

    Hi, i am using enfold child theme but it seams that stylesheets i added in my child theme doesn’t override parent theme. Only when i disable in console parent theme css can see my new css that i added in child theme. I’m i missing something here?

    #791131

    Hey!

    Please refer to this post – http://kriesi.at/documentation/enfold/using-a-child-theme/ and download pre-built Enfold child theme there.

    Which stylesheets have you added to your child theme? Can you please elaborate a bit?

    Best regards,
    Yigit

    #791138

    Thx Yigit but i already downloaded child theme from that link. I put custom class to my fat separator called fat(class) and in my inspector i see the class is added. So i did was .fat span {border-top-width: 5px;} , i cleared the cache, refresh but nothing changed. i open my inspector and i see my new css but after the parent theme css so it doesn’t override, when i disable parent theme css in inspector then my new css works but child stylesheets should override parent theme.

    #791168

    Hi,

    !important rule was wrongly added in your code. I corrected it as following

    .fat span {
      border-top-width: 5px !important;
    }

    flushed cache on your caching plugin and now it does show up fine on my end. Please review your website

    Best regards,
    Yigit

    #791173

    Oh thx Yigit, i copied important not typed by myself and i didn’t see. Thank you very much.

    Best regards

    #791175

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Child theme css goes after parent theme’ is closed to new replies.