Quote Originally Posted by gsdcypher View Post
Hi Jade,

Thanks for replying. When you say

I read the read me. Do you mean add the code I have to the stylesheet.css instead of the tpl_main_page.php ???

Or is there a better/different way to handle turning off the left and right columns with css on certain pages?

Thanks.
Well, lets see, you could do it all with css, but you'll have to use specific css to target only the pages you want. For example, if you view the source of any zen cart page, near the top you'll see this (below is from the login page):

<body id="loginBody">

Now, if I want to remove the left and right sideboxes for the log in page, I can use #loginBody to target only that page. Below is the code needed to hide the sideboxes, and adjust some widths and padding only for the login page:
Code:
#loginBody #navColumnOne, #loginBody #navColumnTwo {display:none;}

#loginBody .contentWrap {padding:0 15px;}

#loginBody .outer {padding:0!important;}

#loginBody .float-wrap {width:100%}
You can add as many pages you want, just using their body id's to target the specific page.