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

Extra padding on first item?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-28-2009, 07:05 AM
 
AWDC AWDC is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 62
 

Default Extra padding on first item?

The first item in the product list, on any page, seems to be given more padding on the bottom than any of the others. So when your resolution is smaller it looks like there is a lot of white space below the first product when you go to a page.

I've looked at the css and source code but everything is the same which is why I thought that if a ".item" class was given extra padding-bottom then all of the other products would have this issue. However, it only seems to be happening to the first product item.

Any thoughts? Thanks in advance!
__________________
Thanks, Greg

X-Cart Version 4.2.0
Litecommerce Version 2.2.21
Reply With Quote
  #2  
Old 01-28-2009, 07:10 AM
 
balinor balinor is offline
 

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

Default Re: Extra padding on first item?

Can you post a link?

Moving to Template Editing.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-28-2009, 07:28 AM
 
AWDC AWDC is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 62
 

Default Re: Extra padding on first item?

sry! http://www.buycsd.com/shop/home.php
__________________
Thanks, Greg

X-Cart Version 4.2.0
Litecommerce Version 2.2.21
Reply With Quote
  #4  
Old 01-28-2009, 01:15 PM
 
AWDC AWDC is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 62
 

Default Re: Extra padding on first item?

Here, this link explains it a lot better than the previous post.

http://www.buycsd.com/shop/home.php?cat=5
__________________
Thanks, Greg

X-Cart Version 4.2.0
Litecommerce Version 2.2.21
Reply With Quote
  #5  
Old 01-28-2009, 04:49 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Extra padding on first item?

I have not looked at 4.2 - so I don't know what is default xcart and what is your customization - but I can see what is happening.

There is a class called clearing, that is set to clear:both

In firefox browser - it is clearing the div in the left menu called left-column.

So, the clearing div is causing the next div to start under the left-column div (it is not a padding setting doing it)

You could try changing the clearing class to clear:right instead of both - but there could be implications in other places where this class is used.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
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 02:09 PM.

   

 
X-Cart forums © 2001-2020