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)
-   -   Product Page Listing (https://forum.x-cart.com/showthread.php?t=72351)

TrevorH 06-26-2015 11:45 AM

Product Page Listing
 
Hi,

If you look at https://www.aicsupplyinc.com/Trucks.html you can see the "shopping cart" icon is not lined up.

I know this has something to do with the shorter and longer names of the product.

Is it possible to make this so they are all equal size? I would rather see a larger white area on the shorter names.

I hope this makes sense.

Thanks in advance for the help.

Trevor

totaltec 06-28-2015 09:45 AM

Re: Product Page Listing
 
I think the best move would be to assign a minimum height via CSS. That way when names wrap to the next line it won't take any more height, because we are just defining the minimum.

Try adding this to your altskin or custom CSS:
Code:

.products a.product-title {
  display: block;
  min-height: 44px;
}


TrevorH 07-02-2015 08:45 AM

Re: Product Page Listing
 
Thanks again for the help Mike!

totaltec 07-09-2015 06:22 AM

Re: Product Page Listing
 
Very welcome Trevor. Glad to help.


All times are GMT -8. The time now is 10:59 PM.

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