Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Fixed Width Shop with Footer 100% Width


Recommended Posts

Fixed Width Shop with Footer 100% Width


Hi all, This is something I worked out because my shop has a body image background (bars for menu placement) spanning the whole top of the page 100% width and want the footer to also have a background that spread the whole page 100% width (within the footer you can give it a fixed width div).


Here is the fix for the centering of the page keeping the footer at 100% width.


In header.php add id="center_fix" to this line(102):

<tr><td class="row_1">

<table cellpadding="0" cellspacing="0" border="0" id="center_fix">


In stylesheet.css add this to the bottom of the page:

#center_fix {

width: 980px;

margin: 0 auto;


AND adjust this:

.width_table {width:100%;position:relative; margin:auto;}


Hope this helps.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...