Skip to:
Content
Pages
Categories
Search
Top
Bottom

CSS Upgrade?


  • JLent.
    Participant

    @jloc14

    Hey,

    I have a quick question. I am using BP 1.8 and the latest WordPress. When I try to edit my CSS (color) using Firebug there are strikethroughs and It will not edit. Do I need to buy a CSS Upgrade?

    Thanks in advance
    Jeremy

Viewing 6 replies - 1 through 6 (of 6 total)

  • bp-help
    Participant

    @bphelp

    @jloc14
    No there is no CSS upgrade. The strikethrough indicates that style has been overridden using !important. Look further around the CSS to find what has overridden that particular style and make changes to that and then you should see the changes.


    JLent.
    Participant

    @jloc14

    Sweet. Thank you!


    Tecca
    Participant

    @tecca

    Also remember that CSS has priorities. Even if important! isn’t present, you can override CSS by being more specific, thus giving it a higher priority.

    Example. When viewing a user’s activity page:

    form#whats-new-form {
        width: auto;
    }
    .activity form#whats-new-form {
        width: 700px;
    }

    The second selector’s property would cancel out the first because it’s more specific.


    Ben Hansen
    Participant

    @ubernaut

    Yeah and i think order the file is listed in the html doc also sets a priority so that if you load a two css files with identical rules, the second file’s definition will override the first.

    Generally speaking most themes allow you to add your own css rules and redefinitons that will override anything in the files.


    Tecca
    Participant

    @tecca

    That works as well. Though I’m always skeptical about all browsers using the second property out of two identical selectors, so I end up using priority in other ways.


    JLent.
    Participant

    @jloc14

    Ok, that makes sense. I’ll test it you thank you all!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS Upgrade?’ is closed to new replies.
Skip to toolbar