robertwyatt Posted December 4, 2020 Posted December 4, 2020 Site URL: https://www.endofanear.com Good evening! I'm having trouble with the CSS for this one. I'm trying to adjust the size of these images + buttons on mobile - they're just too big, each filling the width of the entire screen. So, I'd prefer them to to sit in rows of three, similar to how they sit in rows of six on desktop. Here's are images to better communicate what I'd like, the desktop view vs the preferred mobile view : VS Would this be possible? If so, can someone help me out with the CSS? PAGE: https://www.endofanear.com/web-store Thank you!
tuanphan Posted December 6, 2020 Posted December 6, 2020 I don't see them on homepage. Can you share link to exact 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!)
robertwyatt Posted December 7, 2020 Author Posted December 7, 2020 On 12/5/2020 at 9:23 PM, tuanphan said: I don't see them on homepage. Can you share link to exact page? PAGE: https://www.endofanear.com/web-store
tuanphan Posted December 8, 2020 Posted December 8, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:767px) { div#page-section-5ecc120f5e861630fffa13d8 { .span-12>.row:nth-child(4) .span-2, .span-12>.row:nth-child(5) .span-2 { width: 33.33% !important; float: left !important; } .span-12>.row:nth-child(4) .span-2:nth-child(2n+1), .span-12>.row:nth-child(5) .span-2:nth-child(2n+1) { clear: left; } .span-12>.row:nth-child(4) .span-2 *, .span-12>.row:nth-child(5) .span-2 * { font-size: 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!)
robertwyatt Posted December 8, 2020 Author Posted December 8, 2020 Ah thank you very much, this looks very nice - but I'm sorry, though, I should've have been exactly specific about what I wanted haha. I would like that multi-column effect for all of the images on the page, not just the last 12 images. The screenshots in my OP were just to show the idea. Could this be done for the rest of the images on /web-store as well as the images on the front page this time, too? I'm sorry again for the inconvenience, Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.