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)
-   -   get rid of the margin on two sides of 3-columns layouts (https://forum.x-cart.com/showthread.php?t=11355)

jdedba 01-09-2005 06:20 AM

get rid of the margin on two sides of 3-columns layouts
 
1. There is a margin on each end-side of 3-columns layouts, next to browser's edge (scrollbar on the right). How can I get rid of it?

2. There is a space between Categories block and Bestsellers block (actually between any two blocks on the vertical menu). How can I delete the space? I checked on home.tpl and can not get it.

Thanks a lot for your help.

~~~~~~~~~~~~~~~~
Version 4.0.9

balinor 01-09-2005 06:38 AM

In home.tpl, remove the two instances of this line of code to get rid of the margins:

Code:

<TD width="6"></TD>

The space between categories and bestsellers is due to a
between the two. Look for this code in home.tpl and remove the break:

Code:

{ include file="customer/categories.tpl" }


{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"}
{ include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}


lildawg 01-09-2005 06:51 AM

As well look at the categories.tpl file and you will see that it has a
in it as well. The .tpl files that make up the columns on the right and left at times have the brak in them and you need to remove them. Thats why you will see double spaces in places as well.


All times are GMT -8. The time now is 07:35 AM.

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