Quote Originally Posted by suekay View Post
Hi Jettrue,

I'm trying to remove the grey bacground for the side boxes on the fly. I'm using this tutorial:https://www.zen-cart.com/tutorials/i...hp?article=233
with this code (in includes/templates/template_default/common/tpl_main_page)

if ($this_is_home_page) {
$flag_disable_left = true;
}
to disable the sideboxes on specific pages. Is there a way that I can disable the background on specific pages and enlarge the central column as well?

Thanks
Suekay
Hi,

I have half answered my question by finding this code on another posting to make the central column of the home page (only) the same width as the site:

#indexHomeBody .centerColumn {
float:left!important;
margin: 50px 0 5px -150px;
width:165%!important;
}

#indexHomeBody .navColumnTwo {display:none;}
#indexHomeBody .navColumnOne {display:none;}

Could I use some css to remove the grey side box backgrounds as well?

Thanks for any help you can give