Jump to content

[solved] How to create full width footer, and content.


Recommended Posts

for change width to 100% you need to:

 

<div id="footer" class="grid_9 alpha omega clearfix">
	{$HOOK_FOOTER}
</div

 

replace this code - move it before the: </body> tag

 

you need also to remove grid_9 from class=""

 

then in global css change #footer width to 100%

Link to comment
Share on other sites

You need to modify footer.tpl file. You can read tutorial full-width footer in prestashop

 

 

modified footer.tpl:

 



{if !$content_only}
</div>

<!-- Right -->
<div id="right_column" class="column grid_2 omega">
{$HOOK_RIGHT_COLUMN}
</div>
</div>

<!-- Footer -->

</div>
	<div id="footer" style="width:100%; clear:both; display:block; overflow:hidden;">
		<div style="width:980px; display:block; margin:auto; clear:both;">
			  {$HOOK_FOOTER}
			  {if $PS_ALLOW_MOBILE_DEVICE}
			  <p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p>
			 {/if}
		  </div>
	</div>
{/if}
</body>
</html>

 

 

i used style="" tag for footer div and for additional one, but you can create own classes in global.css

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...