Tagged: woocommerce
Hi, one category has long title and dissorder categories, its possible get same size high in all items?
thanks for all
This is the problem
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
#top .products .product-category h3 {
min-height: 80px;
}
Regards,
Yigit
Hi Yigit,
great, it works!
Its possible aligment vertical text to middle?
Thanks for all
Hey!
Yes, please add following code to Quick CSS as well
#top .products .product-category h3 {
text-align: center;
}
Best regards,
Yigit
Hi Yigit,
I need align vertically, no horizontally ;)
Thanks for your answer
Hi!
It would be best to leave it like it is. You could try doing something like this.
.product h3 {
display: table-cell !important;
height: 100px;
vertical-align: middle;
}
But it’s going to cause other problems, especially on smaller screens. I don’t know of any other way to do vertical align like that. Perhaps in the future there will be a way.
Cheers!
Elliott
Hi elliott thanks for your answer.
the page only has this modification because I have a category with a very long title and if I put default css, items are displayed wrong (see image) . I just need to be displayed well . could be solved with JQuery ?
Regards
Hey!
hm I can’t see any issue on the site you have provided in your first post, because there is only one item. That’s why not sure if we can fix it for you. Feel free to hire a freelancer here.
Regards,
Andy