jezo Posted August 23, 2020 Share Posted August 23, 2020 Hello, I have an amazon affiliate page with products that i would like to display two products per row on mobile and tablet. Could anyone provide me with the right custom css that could achieve this? Thank you! Link to comment
tuanphan Posted August 23, 2020 Share Posted August 23, 2020 Can you share link to amz affiliate page? 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
jezo Posted August 27, 2020 Author Share Posted August 27, 2020 https://orangeblossomlabradoodles.com/recommended-products Link to comment
tuanphan Posted August 28, 2020 Share Posted August 28, 2020 On 8/27/2020 at 7:51 AM, jezo said: https://orangeblossomlabradoodles.com/recommended-products All products on this page? 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
tuanphan Posted September 7, 2020 Share Posted September 7, 2020 On 8/31/2020 at 9:59 AM, jezo said: yes, on this page Add to Home > Design > Custom CSS @media screen and (max-width:640px) { /* dog supplemnents */ div#block-yui_3_17_2_1_1598141717845_392243+.row .span-2 { width: 50% !important; float: left !important; } /* Dog Foods */ div#block-yui_3_17_2_1_1525220674265_50443+.row .span-2 { width: 50% !important; float: left !important; } div#block-yui_3_17_2_1_1525220674265_50443+.row .span-2:nth-child(4n+1) { clear: left; } div#block-yui_3_17_2_1_1598141717845_4784999+.row .span-2 { width: 50% !important; float: left !important; } div#block-yui_3_17_2_1_1598141717845_4791171+.row .span-2 { width: 50% !important; float: left !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
LittleEmbers Posted October 13, 2020 Share Posted October 13, 2020 @tuanphanCan you explain how this code works? I'm looking to implement this on my own site but I’m not quite following what you were doing. 2 amazon products per row on mobile devices using the Amazon Blocks. site: littleemberslearning.co/amazon-supplies Link to comment
tuanphan Posted October 13, 2020 Share Posted October 13, 2020 12 hours ago, LittleEmbers said: @tuanphanCan you explain how this code works? I'm looking to implement this on my own site but I’m not quite following what you were doing. 2 amazon products per row on mobile devices using the Amazon Blocks. site: littleemberslearning.co/amazon-supplies Add to Home > Design > Custom CSS @media screen and (max-width:767px) { div#page-section-5f8075dcf279da660cb02874>.row:nth-child(2)>.col { width: 50% !important; float: left !important; } div#page-section-5f80702036dcbe6d1761f3ee .span-12 .row .col { width: 50% !important; float: left !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
LittleEmbers Posted October 13, 2020 Share Posted October 13, 2020 7 hours ago, tuanphan said: Add to Home > Design > Custom CSS @media screen and (max-width:767px) { div#page-section-5f8075dcf279da660cb02874>.row:nth-child(2)>.col { width: 50% !important; float: left !important; } div#page-section-5f80702036dcbe6d1761f3ee .span-12 .row .col { width: 50% !important; float: left !important; } } What if I combine all my products to be in one page-section, for example, I move all my products to be in "page-section-5f8075dcf279da660cb02874"? Link to comment
LittleEmbers Posted October 14, 2020 Share Posted October 14, 2020 16 hours ago, LittleEmbers said: What if I combine all my products to be in one page-section, for example, I move all my products to be in "page-section-5f8075dcf279da660cb02874"? @tuanphanI went ahead and added 12 products to "div#page-section-5f8075dcf279da660cb02874" this morning. How would I get this to be 2 products per row on mobile? Thanks for helping on this. site: littleemberslearning.co/amazon-supplies Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.