![]() |
how to make storefront page width 100%
How to make width of storefront page only 100% without sidebar, but leave on other pages< please help!!!
I hide left side bar on frontpage only |
Re: how to make storefront page width 100%
Your template is going to matter a lot with this. best to explain what template you are using.
Here is the code you want to use: {if $main eq "catalog" and $current_category.category eq ""} Do nothing {else} Show left bar {/if} The left bar is called in /common_files/customer/content.tpl Now there is going to be CSS as well involved |
Re: how to make storefront page width 100%
Quote:
Thanks, but I cloned template Books & Magazines. website http://kupipalto.ru I hide left sidebar on frontpage Now I need to stretch content on page width, When I change CSS it applies on all pages, not only frontpage It suppose to look like http://xp-group.ru |
Re: how to make storefront page width 100%
Hi!
There is a CSS rule that sets the 960px width for the #page-container element on your website. So, you need to tweak the page template so that it adds a special CSS class to the body tag (for example, "frontpage") when it is the front page. And then add an extra CSS rule that will override the width for ".frontpage #page-template" element. |
All times are GMT -8. The time now is 01:49 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.