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)
-   -   SPACING (https://forum.x-cart.com/showthread.php?t=12755)

kirsten 03-11-2005 12:26 PM

SPACING
 
Does anyone know how to increase the spacing of items listed in the menus boxes? I currently have a line underneath each item in my products menu but in the manufacturers and my help menu I would just like them to be spaced a bit wider like having half space extra or a whole space extra between them so it is easier to read and click on each of them.

If anyone can help me with this it would be appreciated

Thanx

Kirsten

balinor 03-11-2005 12:35 PM

You could do it with CSS. Try adding this to the VertMenuItems class:

padding-top: 5px;

kirsten 03-11-2005 01:10 PM

I tried doing that but it did not work or have the desired effect

Any other suggestions?

Kirsten

balinor 03-11-2005 01:13 PM

Try changing the number to a higher number....10 or 20.....it works, I use it on multiple sites.

kirsten 03-11-2005 01:22 PM

Okay I tried a larger padding size and then I noticed it being only applied to two menu boxes (your cart and also memberhsip) and these are not the ones I need this spacing to be applied?

So any other suggestions?

Kirsten

balinor 03-11-2005 01:25 PM

Ok, so use the same principal and add that line of code to whatever styles are controlling the menus you want changed.

kirsten 03-11-2005 01:53 PM

I have had a look for something to try and isolate just those two menu boxes (ie manufacturers and help) but can see nothing here that does just those two, I went into web master mode and thinking I could see if there would be an answer there, but all the menu boxes are the same ie menu.tpl

Should I somehow try and just enter that code into help.tpl and manufcaturers.tpl?

What do you think?

Kirsten

balinor 03-12-2005 04:44 AM

skin1/modules/manufacturers/customer_manufacturers_list.tpl

That one uses ItemsList as the style, try adding the padding to that.

Help.tpl actually uses VertMenuItems, but only in the link. You might try putting a span tag around the help menu items. So the first item would look like this in help.tpl:

Code:

<span class="VertMenuItems">{$lng.lbl_contact_us}</span>

You could also just try adding another
tag, but that might be TOO much spacing....

kirsten 03-12-2005 01:18 PM

Thanx for all those options however none would take effect in the desired menu's only still in the membership/authentication menu

The only way to get another space was to use a
but it looks like ###@@!! is there a code to do like 0.5 of BR???

Kirsten


All times are GMT -8. The time now is 08:12 AM.

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