X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Removing the right column...frustrating (https://forum.x-cart.com/showthread.php?t=50879)

MattGS 11-20-2009 06:23 PM

Removing the right column...frustrating
 
I have version 4.2 and I'm trying to remove the right column from the light and lucid template. I successfully made the menu items and everything disappear by removing it from /customer/home.tpl but now there is a blank space where the column was.

Does anyone know how to remove it? I havent been able to find a solution

cflsystems 11-20-2009 06:46 PM

Re: Removing the right column...frustrating
 
Yes you need to remove/comment out the right column section from home.tpl but you also need to adjust the css styles for the central section and delete the right margin/padding that is there for the right column

MattGS 11-20-2009 07:01 PM

Re: Removing the right column...frustrating
 
Quote:

Originally Posted by cflsystems
Yes you need to remove/comment out the right column section from home.tpl but you also need to adjust the css styles for the central section and delete the right margin/padding that is there for the right column


I removed this from main.css

#right-bar {
float: right;
right: 7px;
position: relative;
width: 158px;
}

and I edited the center section to widen it

#center-main {
width: 590px;
margin: 0px 185px 0px 177px;
overflow: hidden;
position: relative;
}

But the blank column space is still there. Am I missing something else?

cflsystems 11-20-2009 07:13 PM

Re: Removing the right column...frustrating
 
You still have the margin: 0px 185px 0px 177px; which sets right margin to 185px. Make it margin: 0px 0px 0px 177px;

MattGS 11-20-2009 07:23 PM

Re: Removing the right column...frustrating
 
That worked...great! Thanks for the help


All times are GMT -8. The time now is 06:42 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.