Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Removing the right column...frustrating

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-20-2009, 06:23 PM
 
MattGS MattGS is offline
 

Member
  
Join Date: Nov 2009
Posts: 15
 

Question 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
__________________
4.3.0
Reply With Quote
  #2  
Old 11-20-2009, 06:46 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 11-20-2009, 07:01 PM
 
MattGS MattGS is offline
 

Member
  
Join Date: Nov 2009
Posts: 15
 

Default 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?
__________________
4.3.0
Reply With Quote
  #4  
Old 11-20-2009, 07:13 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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;
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 11-20-2009, 07:23 PM
 
MattGS MattGS is offline
 

Member
  
Join Date: Nov 2009
Posts: 15
 

Default Re: Removing the right column...frustrating

That worked...great! Thanks for the help
__________________
4.3.0
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:41 AM.

   

 
X-Cart forums © 2001-2020