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
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
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.
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
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.