Okay
  Public Ticket #1300627
The style sheet in the child theme is NOT working
Closed

Comments

  • thedonat started the conversation

    The style sheet in the child theme is NOT effecting the site.


    when I use "Custom CSS Code" in "general settings" my css code works fine. when I delete it there and then drop it in the child theme style sheet it doesn't work. Is there a setting I need to change or something. 


    I've tried most basic CSS to test this and nothing affect the site. 


    what can cause this?? please help 


  •  2,744
    Andrew replied

    Hi thedonat,

    The CSS in the child theme's style.css maybe overridden by CSS added to the header by theme.
    The one added to the header will have precedence.

    You and use the !important expression on the properties to override this i.e. 

    body a{
    color:red !important;
    }

    Hope this helps.

  • thedonat replied

    thanks andrew,

    Unfortunately I've tried all that. As I mentioned, the same piece of code is working fine in the  "Custom CSS Code" in "general settings" . 

    what can cause this? it'a a glitch

  • thedonat replied

    hosting company  had  compression running server wide. So when I had turned off the plugin. it didn't stop the compression. So sorry to have troubled you. thanks for your input. 

  • thedonat replied

    can seem to close this ticket...how?