X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Home page without left or right side bar (https://forum.x-cart.com/showthread.php?t=45005)

ARW VISIONS 01-22-2009 12:27 PM

Re: Home page without left or right side bar
 
post the code you are using again.

can you post the url?

jholley 01-22-2009 12:46 PM

Re: Home page without left or right side bar
 
Here's what I am using
{if $current_category.category ne ""}
sidebar content
{/if}

This hides the side bar on the homepage and the static pages, but allows the side bar to show up everywhere else.

ARW VISIONS 01-22-2009 12:49 PM

Re: Home page without left or right side bar
 
is that what you want?

jholley 01-22-2009 01:41 PM

Re: Home page without left or right side bar
 
No, I want the side bars to show up on static pages also.

ARW VISIONS 01-22-2009 01:45 PM

Re: Home page without left or right side bar
 
well you need to use this.

{if $main ne "catalog" and $current_category.category eq ""}
sidebar content
{/if}

it works fine, unless you have had customization doe to your store already.

jholley 01-23-2009 06:02 AM

Re: Home page without left or right side bar
 
There aren't any customizations that would affect this, but using that still doesn't work.


thanks anyways.

liamb2001 03-18-2013 07:30 AM

Re: Home page without left or right side bar
 
can anyone tell me how i would remove the sidebar completely ? ive managed to remove it but my code must be wrong because theres still a gap where the sidebar should be and i want it full width if possible ?


All times are GMT -8. The time now is 11:25 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.