Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Full width footer

Posted on 2012-04-04
6
Medium Priority
?
491 Views
Last Modified: 2012-08-14
I am trying to change my twenty eleven (child theme) footer to be full width in the browser, I moved my </div><!-- #page --> above <footer id="colophon" role="contentinfo"> in my footer.php and ensured that #colophon width is set to 100% in the css, body padding is 0, but footer will not expand, this is a child theme, any ideas?
0
Comment
Question by:AngryHermit
  • 3
  • 3
6 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 37807755
Can you post a live URL? Are you sure there are no other divs that the footer is sitting inside of?
0
 

Author Comment

by:AngryHermit
ID: 37807810
not that i can find, carlosparra.com/ryans is the site, when i inspect it shows up under body, but no div is labeled body.
http://wordpress.org/support/topic/full-width-footer-twentyeleven-child <---- this is basically what ive done
0
 
LVL 30

Assisted Solution

by:LZ1
LZ1 earned 2000 total points
ID: 37807823
I see. On line 73 of your style.css your body has a max-width of 85em.  You'll have to remove that in order to get the full width of the page/window
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:AngryHermit
ID: 37807886
That would do it. Any suggestions for centering body that still allows for the footer to expand both ways?
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 2000 total points
ID: 37807900
You really wouldn't want to center the body. Instead use the #page id and add margin:0 auto.  That should do it. Just make sure to keep the footer outside of it like it is now.
0
 

Author Closing Comment

by:AngryHermit
ID: 37807909
Life saver! Ive been messing back and forth but never the right combination, learned a lot on this one. Thank you!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question