WordPress.org

Ready to get started?Download WordPress

Forums

CSS bgcolor issue (9 posts)

  1. doubledubs
    Member
    Posted 6 years ago #

    So I have this gray area in my hemmingway light theme that I can't get rid of. I really just want the page to be white (except for the nav in the header and the footer) I have changed every bgcolor entry in the CSS file that I can find. I have also looked through the main index template code and not found anything that I could change there to manipulate the background color. I did insert some code (bgcolor="#FFFFFF") but that did not work.

    Anyone have any other ideas? I'm sure I'm just overlooking something simple, but can't find it.

    Thanks!!!
    http://strong.weswu.com/

  2. Trent Adams
    Member
    Posted 6 years ago #

    Doesn't that theme have a repeating image as the background? Search your CSS for a background image maybe?

    Trent

  3. doubledubs
    Member
    Posted 6 years ago #

    Thanks Trent.

    Didn't think of that initially. However, that was not it. There were 2 background="image" in the file that I changed. The others were for search, comments, or footers. I did not test changing those.

    Any other suggestions?

  4. Trent Adams
    Member
    Posted 6 years ago #

    I don't have it on this machine, but http://getfirebug.com is an extension for firefox that tells you specifically what CSS is used when you click on a part of a "live" website. Something to look into maybe!

    Are you editing both CSS sheets referenced?

    /themes/hemingway/style.css
    /themes/hemingway/styles/white.css

    As well, is the grey coming from a table or a CSS div?

    Trent

  5. doubledubs
    Member
    Posted 6 years ago #

    its actually in a table. I've tried manually changing the bgcolor on the table to no success. Can it be looking at something else I'm not thinking of?

    Thanks, I'll try the utility you referred to.

  6. Trent Adams
    Member
    Posted 6 years ago #

    Maybe?

    table th, table td{ padding:0.3em 0.75em }
    table th{
    	background:#aaa;
    	color:#000;
    	text-align:left;
    }
    table td{
    	background:#aaa;
    	color:#000000;

    What color is #aaa ?

    Trent

  7. doubledubs
    Member
    Posted 6 years ago #

    Thanks Trent:

    This is about all the table code in there:

    table{
    width:100%;
    border-spacing:0px;
    margin:0em 0;
    }
    table th, table td{ padding:0.3em 0.75em }
    table th{
    background:#aaa;
    color:#000;
    text-align:left;
    }
    table td{
    background:#aaa;
    color:#000000;
    }

    When the #aaa is changed to #FFFFFF, (in both instances) nothing happens. Still a mystery. I'm installing that utility you pointed to now...

    BTW - if you were literally asking what #aaa is, it's a blue.

  8. doubledubs
    Member
    Posted 6 years ago #

    Trent: you are a god.

    Thank you. Turns out that there was another css file that I was not seeing in my theme editor on the dashboard. white.css had to be edited through the website control panel, and it was there that the background color was being set. The utility that you mentioned is exactly what did it.

    Thanks again!!!!

  9. Trent Adams
    Member
    Posted 6 years ago #

    You are more than welcome....I guess I mentioned it above but didn't look at it because I thought the #aaa was the problem! Glad to help out! :)

    trent

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags