Gthefevre Posted February 19 Share Posted February 19 (edited) Hello, I'm using the Avenue template and want to customize the mobile version to only have 1 thumbnail per row instead of the default 2/row. I found the following code on an archived forum: @media screen and (max-width:750px) { .thumbnail-layout-basic-grid #projectThumbs .project { width: 100%; margin-left: 0; margin-right: 0; } } This solves the thumbnail issue but the images aren't centered. Any advice? Thank you! Edited February 19 by Gthefevre Link to comment
tuanphan Posted February 21 Share Posted February 21 Hi, Can you share link to page? We can check easier 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
Gthefevre Posted February 22 Author Share Posted February 22 Absolutely! Here it is: https://gregorylefevre.co/ Thank you for checking it out! Link to comment
tuanphan Posted February 24 Share Posted February 24 On 2/22/2024 at 11:14 PM, Gthefevre said: Absolutely! Here it is: https://gregorylefevre.co/ Thank you for checking it out! I see it already show 1 item/row to me 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
Gthefevre Posted February 24 Author Share Posted February 24 Yes, but the row is off center. Is there a way to address that? Link to comment
Solution tuanphan Posted February 26 Solution Share Posted February 26 Add this CSS code @media screen and (max-width:750px) { #projectThumbs>.wrapper { width: 100% !important; margin: 0 !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
Gthefevre Posted February 26 Author Share Posted February 26 Thank you! That did the trick. 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