Home › Forums › Support › Image alignment in the woocommerce catalog This topic has 10 replies, 3 voices, and was last updated 6 years, 4 months ago by Tom. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts December 13, 2017 at 6:58 am #448620 roberto Hi, I have a problem with the alignment of images in the woocommerce catalog. The images are not aligned, some are higher up. This is the link to the catalog: http://gruppocasaimmobiliare.it/catalogo/ Any solution? Thank you. December 13, 2017 at 9:34 am #448735 LeoStaff Customer Support Hi there, Give this CSS a shot: .woocommerce ul.products li.product h2 { line-height: 2.5ex; height: 5ex; /* 2.5ex for each visible line */ overflow: hidden; } Adding CSS: https://docs.generatepress.com/article/adding-css/ December 13, 2017 at 10:10 am #448761 roberto Thanks Leo, but that code affects text, not images December 13, 2017 at 1:45 pm #448917 roberto I solved, the problem was a plugin. Thanks. December 13, 2017 at 1:53 pm #448927 TomLead Developer Lead Developer This is being caused by a woosticker element in your markup. Maybe being added by a plugin? December 13, 2017 at 1:57 pm #448933 roberto Yes, if I disable woosticker the images are aligned December 13, 2017 at 2:09 pm #448948 TomLead Developer Lead Developer Awesome ๐ If you need that plugin we should be able to come up with a CSS solution. December 13, 2017 at 2:41 pm #448969 roberto Yes, I would need, what solution can be adopted ? December 13, 2017 at 9:58 pm #449116 TomLead Developer Lead Developer Try this CSS: .woocommerce ul.products li.product .woocommerce-LoopProduct-link > :not(:first-child) { margin-top: 0; } December 14, 2017 at 1:00 am #449174 roberto Thanks Tom, with your code I solved. Great support, see you next time. Greetings. December 14, 2017 at 8:46 am #449486 TomLead Developer Lead Developer You’re welcome ๐ Author Posts Viewing 11 posts - 1 through 11 (of 11 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In