Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / turn off left or right side bar on home page only [and only certain EZ pages]

turn off left or right side bar on home page only [and only certain EZ pages]

Started by thebigkick on 1 Jun 2012, 6:51 PM · Views: 2,344

Results 1 to 3 of 3
1 Jun 2012, 6:51 PM
#1
thebigkick avatar

thebigkick

New Zenner

Join Date:
Jan 2012
Location:
Montreal
Posts:
84
Plugin Contributions:
0

Post #1 by thebigkick

I'm having difficulty figuring out how to turn off the left sidebar of site. I only want to disable it for the Homepage and specific ez pages i have.

I was thinking of choking it out in one of my CSS stylsheets with:

display: none;

but i don't know how to target ez pages with css. I understand how to use it for the advanced search page (advanced_search.css) but the same method doesn't work for ezpages.

Thanks

1 Jun 2012, 9:23 PM
#3
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #3 by rstevenson

And this thread, which should be highlighted somewhere and maybe even added to the Readme file in the css folder, tells exactly how to create stylesheets for EZ Pages. There's some code editing required, but it's minimal.

http://www.zen-cart.com/showthread.php?60760-Per-page-stylesheets

Rob

Breakfast: the most important donut of the day.