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

margin-bottom not working on vertmenutitle

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-12-2006, 07:06 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default margin-bottom not working on vertmenutitle

I'm trying to add some space after my menu title, and have tried the following in the css:

margin-bottom: 10px;

or

margin: 3px 10px;

but neither seem to work. I have also tried changing other variables in the class definition, and they change the display accordingly, so I know that the class is assigned correctly, I just can't get this to work.

Anyone any idea why?

V4.0.18
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #2  
Old 04-12-2006, 07:31 AM
 
balinor balinor is offline
 

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

Default

Try padding-bottom: 10px;
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-12-2006, 07:53 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default

thanks balinor, but that puts the space before my border-bottom, whereas I want it after. I have a coloured border top and bottom in my template, and the first line of text is just a little close for my liking.

I did make the change, and it did change so I'm convinced that the class is assigned correctly, it's just that the margin collapses and i don't know how to stop it.

I could always add a
into the menu tpl, but I was trying to keep to css as much as possible (she says whilst frantically deleting as many <table>s as possible!)

testing site: http://willowtreecrafts.amygibbs.co.uk/xcart
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
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 04:11 AM.

   

 
X-Cart forums © 2001-2020