Tagged: x
-
AuthorPosts
-
December 16, 2016 at 5:07 pm #1296103
speedlistParticipantI have added a function to display the description on the shop page (integrity) and display the button.
How can I move the button below the description?
http://hudsonrivermil.wpengine.com/shop/Thanks.
December 16, 2016 at 8:15 pm #1296318
Rue NelModeratorHello There,
Thanks for writing in! To move the button below the description, please add the following JS code in the customizer, Appearance > Customize > Custom > Javascript
(function($){ $('.archive.woocommerce li.product').each(function(){ $(this).find('.entry-header .button').appendTo( $(this) ); }); })(jQuery);We would loved to know if this has work for you. Thank you.
December 19, 2016 at 8:36 am #1298174
speedlistParticipantIt works. Thank you.
Now, how can I make it on the homepage as well? http://hudsonrivermil.wpengine.com/
I added the products using shortcode category.Thanks.
December 19, 2016 at 8:58 am #1298202
DarshanaModeratorHi there,
You can add the following code also into your Custom > JavaScript area.
(function($){ $('.home li.product').each(function(){ $(this).find('.entry-header .button').appendTo( $(this) ); }); })(jQuery);Hope that helps.
December 19, 2016 at 9:32 am #1298242
speedlistParticipantThank you very much. I have another problem. How can I set the images to have the same size on homepage and shop page.
It should look similar to this: https://idsskincare.com/shop/December 19, 2016 at 9:58 am #1298282
ThaiModeratorHi There,
Please add the following CSS:
.woocommerce li.product .entry-featured, .woocommerce-page li.product .entry-featured { max-height: 150px; overflow: hidden; }Hope it helps 🙂
December 20, 2016 at 5:20 pm #1299869
speedlistParticipantIs there a way that it will not get cropped? Just zoomed out? Can’t edit the image files individually since there are 600+ of them.
Maybe similar to this: http://www.hudsonrivermills.com/allproducts
Thanks.December 21, 2016 at 1:31 am #1300211
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
.woocommerce li.product .entry-featured a { display: inline-block; }Hope that helps.
December 21, 2016 at 8:14 am #1300533
speedlistParticipantThanks but what I’m trying to accomplish is to align all product listing just like on the image I attached.
Hope you can help me with this.December 21, 2016 at 9:14 am #1300582
speedlistParticipantPlease disregard. I have figured it out. But you can check if what I did is correct. Thanks.
http://hudsonrivermil.wpengine.com/shop/December 21, 2016 at 9:43 am #1300626
LelyModeratorHello There,
Upon checking this page:http://hudsonrivermil.wpengine.com/shop/ I can see that you have achieve this already by adding max height for product image. Please confirm.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1296103 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
