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)
-   -   Extra padding on first item? (https://forum.x-cart.com/showthread.php?t=45149)

AWDC 01-28-2009 07:05 AM

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!

balinor 01-28-2009 07:10 AM

Re: Extra padding on first item?
 
Can you post a link?

Moving to Template Editing.

AWDC 01-28-2009 07:28 AM

Re: Extra padding on first item?
 
sry! http://www.buycsd.com/shop/home.php

AWDC 01-28-2009 01:15 PM

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

gb2world 01-28-2009 04:49 PM

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.


All times are GMT -8. The time now is 02:01 PM.

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