Tagged: x
-
AuthorPosts
-
November 17, 2016 at 11:53 pm #1262147
sosmondParticipantOn the shop page is there a way to have the product title all bottom aligned?
November 18, 2016 at 12:14 am #1262170
FriechModeratorHi There,
Thank you for writing in! We can do that by adding the Custom CSS below on your Customizer. However, that will stretch those landscape oriented images.
.woocommerce li.product .entry-featured img { min-height: 230px; }Hope it helps, Cheers!
November 18, 2016 at 9:33 am #1262627
sosmondParticipantThank you for providing a solution however this code stretches and skews the images. I would like to leave the image size alone and align only the product titles.
November 18, 2016 at 1:00 pm #1262830
JadeModeratorHi there,
Please try this:
.woocommerce li.product .entry-featured { min-height: 230px; }November 18, 2016 at 1:22 pm #1262844
sosmondParticipantThank you for the response. This works okay but still has some issues with taller products as well as the more details hover button. http://jeff-dillon.com/portfolio/
Would it be easier to put the title above the product image? Can that be done with css?
November 18, 2016 at 9:44 pm #1263299
Rue NelModeratorHello There,
Thanks for updating in! To resolve your issue, please have the given css code updated and use this instead:
.woocommerce li.product .entry-featured { min-height: 230px; max-height: 230px; overflow: hidden; }Hope this helps. Kindly let us know.
November 20, 2016 at 3:41 pm #1264579
sosmondParticipantThat code aligns things nicely however it crops the images which is not acceptable to the artist.
What is involved in moving the title above the image?
November 20, 2016 at 10:50 pm #1264874
Rue NelModeratorHello There,
Since the css is not the perfect solution because the images should be be cut off, we can just transfer the title above the images. To do so, please add the following JS code in the customizer, Appearance > Customize > Custom > Javascript
(function($){ $('.archive .products .entry-product').each(function(index, element){ var el = $(this); el.find('.entry-wrap').insertBefore( el.find('.entry-featured') ); }); })(jQuery);And please do not forget to remove the custom css we gave from the previous reply.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1262147 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
