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)
-   -   Need Page Alignment Help (https://forum.x-cart.com/showthread.php?t=31371)

hoosierglass 05-23-2007 07:29 AM

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

pauldodman 05-23-2007 07:51 AM

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.

hoosierglass 05-23-2007 08:31 AM

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.

pauldodman 05-24-2007 12:21 AM

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.

hoosierglass 05-24-2007 05:55 AM

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?

pauldodman 05-24-2007 08:00 AM

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.

hoosierglass 05-24-2007 08:46 AM

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.


All times are GMT -8. The time now is 06:19 AM.

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