WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. imonni
    Member
    Posted 1 year 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
    Forum Moderator
    Posted 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.