New Zenner
- Join Date:
- Mar 2008
- Posts:
- 3
- Plugin Contributions:
- 0
Home page layout, Need help!
How do I turn off the both side columns, and make the center spread the whole width, only on the home page!?
Thank You
Sam
Views: 1,099
New Zenner
How do I turn off the both side columns, and make the center spread the whole width, only on the home page!?
Thank You
Sam
Black Belt
Edit /includes/templates/your_template/common/tpl_main_page.php. There are instructions in the comments at the top of the file.
if ($this_is_home_page) {
$flag_disable_left = true;
$flag_disable_right = true;
}
The center will automatically expand to fill the space.
New Zenner
Glenn, Thanks for your help.
I noticed that although this works with the default template from Zen Cart, for the Cherry Zen template, it only removes the columns but the center dos not spread. Do you have any experience with this template?
Sam
Black Belt
No, I don't. Some templates have hard-coded widths in various places.
Your best bet is to post in the appropriate support thread for the template.
You might also look through the stylesheet. The Firefox Web Developer and Firebug tools can help you find where an element is controlled.
Tell staff why this post should be reviewed.