- This topic has 8 replies, 3 voices, and was last updated 8 years, 7 months ago by
rtomc.
-
AuthorPosts
-
September 6, 2017 at 9:18 am #380444
rtomc
Hy,
On the products page, with Generate Press, the size of the box that host each product depends on the number of lines of the title of the product in qüestion.
When a product has a title with two lines, then the box is larger and it appears “irregular”.
Do you know how I can to get that the products grid of the products page appears regular even though the titles of products have diferents number of lines?
Thanks !
RMR
September 6, 2017 at 2:16 pm #380592Leo
StaffCustomer SupportHi there,
Can you give David’s CSS a shot here?
https://generatepress.com/forums/topic/align-add-to-cart-button-woocommerce/#post-348816Let me know.
September 7, 2017 at 10:19 am #381134rtomc
Hy,
Thanks !
Is going better but not completly…
It works ok when the products have not badges as for exemple here (staging): https://staging13.productosdepeluqueria.info/categoria-producto/accesorios-de-peluqueria/desechables/But it do not works correctly af all when the products have badges as for exemple here (always staging):
https://staging13.productosdepeluqueria.info/Well I am not sure that badges be the cause…
Someone had benn resolved a similar case?
Thanks
RMR
September 7, 2017 at 4:17 pm #381362David
StaffCustomer SupportThe sales badges force a line break between them and the image which is causing the problem. You can try adding this additional CSS to remove them:
.inside-wc-product-image br { display: none; }You may need to make the code more explicit and target just the products will the Sale class but give it a go and see if it works.
September 8, 2017 at 7:02 am #381688rtomc
Thanks David,
I test yor code at staging and it works, but in real there is one product that resists the code 🙁
Can you see it here: https://productosdepeluqueria.info/
I edited it again looking for a reason, but I did not find anything 🙁
Any other suggestion?
RMR
September 8, 2017 at 8:56 am #381781Leo
StaffCustomer SupportWhich one? They all look good to me?
September 8, 2017 at 10:14 am #381833rtomc
September 8, 2017 at 3:13 pm #381979David
StaffCustomer SupportThe code is actually working.
The problem with this single product is the image size. All of your other images are square W:300px x H:300px this one is not proportional. W:273px x H:300px. Woo will scale it to fit which is creating a taller image than the others.September 8, 2017 at 4:38 pm #382026rtomc
Thanks David,
I attend your answer and I will review the size of images.
Thanks a lot !
RMR
-
AuthorPosts
- You must be logged in to reply to this topic.