Closed (fixed)
Project:
Simply Modern Theme
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2009 at 16:44 UTC
Updated:
21 Apr 2009 at 21:35 UTC
I've been customizing this great theme and would like to have the footer spread across 100% of the browser rather than be a fixed width. I'd like the content section to be fixed and the header and footer 100%... The header i have done, the footer i can't
I've tried changing the css to :
#footer {
width : 100%;
background-color: #412715;
font-size: 0.8em;
text-align: center;
clear:left;
however its still a fixed width.
I've also tried moving the tag to before the footer declaration, however again this hasn't worked :
</div> <!-- /page -->
<div class="pagebottom">
<div class="pagefooter"></div><!--page footer-->
<?php if (isset($secondary_links)) : ?>
<div id="secondary-links">
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
<div style="clear:both"></div>
</div>
<?php endif; ?>
<div id="footer">
There must be something simple i'm missing..... does anyone know what it is ?
Thank you
A
Comments
Comment #1
qt11 commentedComment #2
spencerbrooks commentedI had success with this when I moved #footer outside of #page:
This looks to be pretty much the same thing you tried, but it looks like you have some extra divs wrapped around the footer. Is it possible those could be interfering with the footer expanding to 100%?
Do you have a link where I could take a look at this further?