Forums

ColorWay
Style.css stronger than custom.css (2 posts)

  1. imonni
    Member
    Posted 5 months ago #

    Hi everyone,

    I am trying to change the background color of container, from white to transparent.

    this is the code I am using in custom.css:

    container {
    background-color:trasnparent!important;
    }

    it doesn't work when I do it from custom.css but it works when I try to do it from style.css

    It Seems that style.css is stronger the custom.css

    It depends on version I am using?
    (I have the lite version)

    thanks

    Ivan

  2. Andrew Nevins
    Volunteer Moderator
    Posted 5 months ago #

    Use more specific selectors
    http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/

    Don't change the theme's original files, you'll compromise the theme and lose your changes whence the theme updates.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.