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

Need Page Alignment Help

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-23-2007, 07:29 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Need Page Alignment Help

What I am trying to do is get the center section of the screen to look like the second image. Either the main section needs to be stretched to the edge of the verticle menus or the verticle menues need to be stretched to the main section. The first image is how it looks now. The second image is the way I want it to look. Could someone that knows how to do a little home.tpl or menu.tpl editing give me a little help.

http://www.kennedyhardware.com/screenshot.JPG

http://www.kennedyhardware.com/screenshot2.JPG
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #2  
Old 05-23-2007, 07:51 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Need Page Alignment Help

It is probably in skin1.css
Look for VertMenuLeftColumn and you may find that it has right side padding of 20 - try and remove that.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 05-23-2007, 08:31 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Need Page Alignment Help

You were right on target Paul. I got that straight so the background does not come through to the main section. Is there a way to add padding to the main section?

The text lines up too close to the verticle menus.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #4  
Old 05-24-2007, 12:21 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Need Page Alignment Help

The simplest way would be to add another table column, setting a width of say 5 and inserting a spacer image of the same width. Or adding a css class to the main table cell (like on the left column) and adding the padding in the same way in the css file.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 05-24-2007, 05:55 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Need Page Alignment Help

Before I jump in and possible screw something up, here is what I have come up with. Let me know if I am on the right track, or in the middle of the track waiting on a train.

in customer/home_main.tpl
add <class=HomeMainPad>

in skin1.css
add
.HomeMainPad {
PADDING-LEFT: 15px;
PADDING-RIGHT: 15px;
}

Does this look right?
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #6  
Old 05-24-2007, 08:00 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Need Page Alignment Help

Why would you put it in home_main.tpl?
And where?

The class wants adding to the table cell in home.tpl exactly as it was for the left column, you now need it on the middle column.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #7  
Old 05-24-2007, 08:46 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Need Page Alignment Help

That is why I asked before I jumped in front of the train!
Thanks once again for setting me straight.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 02:39 AM.

   

 
X-Cart forums © 2001-2020