Tagged: x
-
AuthorPosts
-
July 7, 2016 at 4:28 pm #1077005
Eric MParticipantCan you tell me what code is causing one of the upsell items to be longer than the others?
July 7, 2016 at 4:28 pm #1077006
Eric MParticipantThis reply has been marked as private.July 7, 2016 at 4:39 pm #1077018
Eric MParticipantThis reply has been marked as private.July 8, 2016 at 12:35 am #1077529
Rue NelModeratorHello There,
Thanks for writing in! To make sure that the upsell items and the related items will be of the same height, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.woocommerce .products.upsells li.product .entry-product, .woocommerce .products.related li.product .entry-product { max-height: 280px; }You might need to adjust it if it’s a litle shorter or higher. And on the other page, to make sure that the button is not cut off, please find this css block from your customizer,
.woocommerce .site li .entry-wrap { top: 40%; }You need to reduce the 40% to at least 30% or lower. Perhaps with code;
.woocommerce .site li .entry-wrap { top: 25%; }Hope this helps.
July 8, 2016 at 9:58 am #1077982
Eric MParticipantive tried a few options to add padding above the button. What would add some padding?
July 8, 2016 at 10:44 am #1078029
Eric MParticipantwhat needs to be added to the code above to isolate the changes to the product store and category pages?
July 8, 2016 at 9:22 pm #1078817
FriechModeratorHi There,
To make the css to apply on your product store and archive page, you can append the class
.archiveto the.woocommerceselector.e.g.
.archive.woocommerce .products.upsells li.product .entry-product, .archive.woocommerce .products.related li.product .entry-product { max-height: 280px; }Another thing, look for this block on your custom CSS and add the missing closing bracket.
.woocommerce div.product .woocommerce-tabs h2 { display: none;Hope it helps, Cheers!
July 11, 2016 at 11:16 am #1081663
Eric MParticipantThis reply has been marked as private.July 11, 2016 at 8:36 pm #1082472
FriechModeratorHi There,
Please update the code to this
@media (min-width: 980px) { .archive.woocommerce li.product .entry-product { max-height: 210px; } }Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1077005 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
