wordpress - How to change header & footer to full width? -


i'm using sleketon theme on website.

what i'd have header & footer "fill" horizontal space of screen, while having main content staying is.

actually, i'd background color fill full width of screen(dark blue , red lines header, dark blue, red , green lines footer). i'd content stay is.

i've looked @ several other threads, couldn't manage make way solution skeleton theme.

can guys please me out ?

thanks

edit : realized didn't add website url.

if have css file linked can target class .header / .footer , add line : width:auto; suggest adding container/wrapper div , place contents in it.

should this:

    html, body { margin:0px; padding:0px; }      .wrapper { margin:auto; width:auto; }      .header { margin:auto; height:200px; width:auto; background-color:#0000ff; border:1px solid #df0101; }      .content{ margin:auto; height:500px; width:800px; }      .footer { margin:auto; height:100px; width:auto; background-color:#0000ff; border:1px solid #df0101; border-top:1px solid #3adf00; border-bottom:1px solid #3adf00; } 

hope helps.

~ jeff


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -