studiojacandco Posted March 9, 2023 Share Posted March 9, 2023 Hi everyone, Just wondering how to go about changing the padding, image size, heading # etc of 'related products' when it's featured on my products page? My product image is displaying nice and small & square but my related products is huge and rectangle. There's also not enough padding/space above where it says "You Might Also Like", and I'd like to change the size of this heading. https://www.studiojacandco.com.au/resources/p/instagram-audit Thanks in advance 🙂 Jaclyn Link to comment
Solution tuanphan Posted March 12, 2023 Solution Share Posted March 12, 2023 Add to Design > Custom CSS h2.ProductItem-related-label { padding-top: 40px; padding-bottom: 20px; } @media screen and (min-width:768px) { .ProductItem-relatedProducts.ProductList.clear .list-grid { grid-template-columns: repeat(3,1fr); } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
studiojacandco Posted March 13, 2023 Author Share Posted March 13, 2023 That's much better, thank you!! Do you know how I can make the related product image/s the same size & shape as the product image? Currently the main product is square but my related product is portrait/rectangle. Link to comment
tuanphan Posted March 16, 2023 Share Posted March 16, 2023 On 3/14/2023 at 5:38 AM, studiojacandco said: That's much better, thank you!! Do you know how I can make the related product image/s the same size & shape as the product image? Currently the main product is square but my related product is portrait/rectangle. Add to Design > Custom CSS /* Related Products */ .ProductItem-relatedProducts .grid-image-wrapper { padding-bottom: 100% !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
TWBDesign Posted June 9, 2023 Share Posted June 9, 2023 Hi @tuanphan, would you know how to display the related products as stacked vertically, rather than in a horizontal row? With the images 50% width (on the left) and the product titles beside them (on the right). Thank you! Link to comment
tuanphan Posted June 11, 2023 Share Posted June 11, 2023 On 6/10/2023 at 12:47 AM, TWBDesign said: Hi @tuanphan, would you know how to display the related products as stacked vertically, rather than in a horizontal row? With the images 50% width (on the left) and the product titles beside them (on the right). Thank you! Like this? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
therisejourney Posted June 27 Share Posted June 27 Any idea on how to remove the price or any other tags? I just want the image to show! https://www.therisejourney.com/lunch-learn-programs/p/honoring-aapi-heritage-month Link to comment
tuanphan Posted June 29 Share Posted June 29 On 6/27/2024 at 7:38 PM, therisejourney said: Any idea on how to remove the price or any other tags? I just want the image to show! https://www.therisejourney.com/lunch-learn-programs/p/honoring-aapi-heritage-month You can use this code to Custom CSS box div.ProductItem-relatedProducts section.grid-meta-wrapper { display: none !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
lo_ad Posted August 17 Share Posted August 17 Hello there, any idea on how to make the whole Related Product section smaller? I would also like to place the section title (You might also like) centered and add a line before the section or have a border all around the section. Many thanks! Link to comment
tuanphan Posted August 22 Share Posted August 22 On 8/17/2024 at 11:41 PM, lo_ad said: Hello there, any idea on how to make the whole Related Product section smaller? I would also like to place the section title (You might also like) centered and add a line before the section or have a border all around the section. Many thanks! #1. Smaller You mean width smaller? #2. Use this code to Custom CSS box h2.ProductItem-related-label { text-align: center; border-top: 2px solid red; padding-top: 10px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
lo_ad Posted August 23 Share Posted August 23 22 hours ago, tuanphan said: #1. Smaller You mean width smaller? #2. Use this code to Custom CSS box h2.ProductItem-related-label { text-align: center; border-top: 2px solid red; padding-top: 10px; } Perfect solution! Many thanks @tuanphan Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment