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

SPACING

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-11-2005, 12:26 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default 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
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #2  
Old 03-11-2005, 12:35 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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

padding-top: 5px;
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-11-2005, 01:10 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

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

Any other suggestions?

Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #4  
Old 03-11-2005, 01:13 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Try changing the number to a higher number....10 or 20.....it works, I use it on multiple sites.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-11-2005, 01:22 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

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
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #6  
Old 03-11-2005, 01:25 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Ok, so use the same principal and add that line of code to whatever styles are controlling the menus you want changed.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 03-11-2005, 01:53 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

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
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #8  
Old 03-12-2005, 04:44 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 03-12-2005, 01:18 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

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
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
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 01:27 AM.

   

 
X-Cart forums © 2001-2020