Hi, I want to remove the sideboxes from the index page only but when ever I try to comment out what I think is the correct area of code from tpl_main_page the whole page turns blank.
Can anyone shed any light?
thanks,
john
www.curvesandcorsets.com
Hi, I want to remove the sideboxes from the index page only but when ever I try to comment out what I think is the correct area of code from tpl_main_page the whole page turns blank.
Can anyone shed any light?
thanks,
john
www.curvesandcorsets.com
Rather than try to comment out the right bit of code, set a flag following the instructions in the top of tpl_main_page.php, like
PHP Code:if ($this_is_home_page) {
$flag_disable_left = true;
$flag_disable_right = true;
}
Hi John,
I would create an index_home.css file containing:
#navColumnOne{display:none;}
If you have it in your css folder, it will be read only when the home page is loaded and will eliminate your left column, extending contents to the left edge of the page.
If you only want to remove the Categories side box, use
#categories{display:none;}
If you only want to remove the Important Links side box, use
#ezpages{display:none;}
I hope this helps.![]()
George
Athens Collectibles
Thanks gjh42, every day is a school day!