I want to align the add to cart buttons horizontally.
eg:
http://demo.opencart.com/index.php?rout ... path=25_28
Because one of the product names is larger, the add to cart buttons are not aligned horizontally in grid view. Is there any way to do this?
Thanks!
eg:
http://demo.opencart.com/index.php?rout ... path=25_28
Because one of the product names is larger, the add to cart buttons are not aligned horizontally in grid view. Is there any way to do this?
Thanks!
Last edited by Evilboy on Sun Sep 25, 2011 10:23 pm, edited 1 time in total.
Stylesheet line 910 .product-grid .name a
add:
min-height: 30px;
is the only way I can think of doing it at the moment.
add:
min-height: 30px;
is the only way I can think of doing it at the moment.
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Try adding the following to your catalog/view/theme/default/stylesheet/stylesheet.css
Code: Select all
.product-grid .name{
min-height:36px;
}
Thank you.
So, how to edit the main page, you need to do is add to cart buttons?
So, how to edit the main page, you need to do is add to cart buttons?
Hi! Just wanted to add to this. This fixed the add to cart alignment in categories but it didn't fix the alignment for add to cart buttons on my "Featured" products on my index page so here's the fix if anyone is looking for it:
/catalog/view/theme/yourtheme/stylesheet/
find:
.box-product .name a
add:
min-height:44px;
I use a custom theme so i'm not sure if it applies to the default theme but i'm guessing it does
/catalog/view/theme/yourtheme/stylesheet/
find:
.box-product .name a
add:
min-height:44px;
I use a custom theme so i'm not sure if it applies to the default theme but i'm guessing it does
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 20 guests