WordPress.org

Ready to get started?Download WordPress

Forums

A Weird One: Background Color UNeditable! (3 posts)

  1. thealchemist
    Member
    Posted 2 years ago #

    Just building this: http://174.122.140.200/~malibube/ I am using the standard WP3.2 and Twentyeleven, latest versions and a plugin: WP About Author.

    The background of the author box displays as FFAAE8. I went into the plugin's css and changed it to F2F7FC. It won't change! I thought maybe something was overriding the background and search for ANY instance of FFAAE8 in ALL files. None exist.

    Using the Inspect element feature in my browser I see the line of code "element.style {
    background-color: #FFEAA8;
    }" and, of course, when I uncheck it I see the color I have in the plugins css.

    I have searched for any instance of element.style in the wordpress files to no avail.

    Does anyone have any ideas?

  2. Triplanetary
    Member
    Posted 2 years ago #

    Add !important to the end of the "background" property for the author box in your plugin's CSS sheet. I just tried it in my browser and it worked.

    Just to be clear what I mean, the background property should look like this:

    background: none repeat scroll 0 0 #F2F7FC !important;

  3. thealchemist
    Member
    Posted 2 years ago #

    Beautiful!

    Thanks Trip.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags