can't change footer color

  • sylvia

    #2383

    Can’t seem to change footer color properly for some reason! Here is my css for the footer from my child theme:

    #footer {

    background: none;

    border-top: 1px solid #d5d5d5;

    padding-top: 50px;

    margin-bottom:0px;

    min-height: 100px;

    position: relative;

    color: #000000;

    }

    I figured changing the background to “none” would remove the picture…..and setting color to”000000″ would make it all black. For some reason, it appears white!! Not sure why….my changes to the padding/margin took ok…but not the color!

    Any help would be extremely appreciated!!

    Mod

    Kenneth John Odle

    #20023

    color refers to text color. To change the background to black, try this code:

    #footer {background: #000;}

    (BTW, be sure to place code between backticks. Thanks!)

    soapy

    #20024

    Thanks Ken! Greatly appreciated!!

    What do you mean about the back ticks?? You want code placed between back ticks when posting on this forum??

    Mod

    Kenneth John Odle

    #20025

    back ticks — yep. It helps to highlight the code, but it also renders it as code. Some kinds of code will get rendered by browsers–at best we can’t really see what you’re talking about, and at worst, it can cause problems when visiting the page.

    I’m glad you got the footer situation sorted out. I’m planning on doing a succinct tutorial on basic CSS sometime after the holiday.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.