Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #641

    Hi,

    We are trying to get a child theme running where we can easily change from light to dark throughout the year.

    While our CSS is changing it is then being overwirtten by the style2.css (or 3, 4etc) of the skin.

    Any ideas on how we can stop this?

    Tnx.

    #32293

    Styles are interpreted in the order loaded, so the last loaded is the highest priority when displaying elements.

    You can get around this by either:

    1.) adding your custom CSS at the end of style2.css (or 3 or 4)

    2.) adding “!important” to the custom declaration eg for a background colour:

    body { background: #FFFFFF !important; }

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Child CSS being overwirtten by the 'Display' – Skin CSS’ is closed to new replies.