Shellyj Posted August 8 Share Posted August 8 Hello please i need some help here Please I need help with this I attached the picture I want is in 2 layout on ipad it currently is not readable for elders right now Please help me Link to comment
Ziggy Posted August 8 Share Posted August 8 Could you share your website URL and the page this is on? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Shellyj Posted August 8 Author Share Posted August 8 This is the url www.backwhen.com.au Home page Link to comment
Shellyj Posted August 8 Author Share Posted August 8 I want it to adjust to 2 layout on ipad view The mobile and desktop looks okay Link to comment
Ziggy Posted August 8 Share Posted August 8 (edited) There's not a great way to do this with image blocks in the grid, but if you set up a "list section" otherwise known as an "auto layout section" you can control the grid layout on tablet. https://support.squarespace.com/hc/en-us/articles/360057763852-Auto-layouts Select the grid layout with 4 columns. Edited August 8 by Ziggy Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Shellyj Posted August 9 Author Share Posted August 9 @ZiggyThank you so once i do that will that automatically change to 2 layout on ipad ? I am about doing that now tho Link to comment
Ziggy Posted August 9 Share Posted August 9 31 minutes ago, Shellyj said: @ZiggyThank you so once i do that will that automatically change to 2 layout on ipad ? I am about doing that now tho No not automatically, but I can give you a snippet of code to achieve this. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Shellyj Posted August 10 Author Share Posted August 10 @Ziggy Please I am still waiting on your response Link to comment
Ziggy Posted August 12 Share Posted August 12 On 8/8/2024 at 7:16 PM, Ziggy said: Select the grid layout with 4 columns. You haven't set the grid to 4 columns, it's currently 2. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Ziggy Posted August 12 Share Posted August 12 Once you've done that, add this code. @media screen and (min-width: 640px) and (max-width:940px) { .user-items-list-simple { grid-template-columns: 1 fr 1fr !important; } } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Shellyj Posted August 12 Author Share Posted August 12 Okay I changed it before i was only trying to see if the 2 layout will work when i didn't get a response But I am about changing back and using the codes provided Thank you so much I will let you know if that works I will have someone check on their ipad view for me Or is there a way you can check from your end if I did it correctly please @Ziggy Ziggy 1 Link to comment
Ziggy Posted August 12 Share Posted August 12 I had small typo, a space where there shouldn't be one, use this instead: @media screen and (min-width: 640px) and (max-width:940px) { .user-items-list-simple { grid-template-columns: 1fr 1fr !important; } } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Shellyj Posted August 12 Author Share Posted August 12 This are the codes i have can you help fix in the correct one incase i didn't put it well @media screen and (min-width: 768px) and (max-width: 1024px) { .your-element-class { padding: 20px; font-size: 18px; } } /* Style image boxes in a grid layout */ .image-box-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; /* Adjust spacing as needed */ } .image-box { width: 100%; height: auto; object-fit: cover; /* Maintain aspect ratio and cover the box */ } /* Homepage-Tablet-2columns */ @media screen and (max-width:1024px) and (min-width:768px) { div#page-section-617842b2b7108941f46ea0cd .span-6 { width: 100%; } div#page-section-617842b2b7108941f46ea0cd .span-6 ~ .span-3 { width: 50%; } @media screen and (min-width: 640px) and (max-width:940px) { .user-items-list-simple { grid-template-columns: 1fr 1fr !important; } } } } @Ziggy Link to comment
Solution Ziggy Posted August 12 Solution Share Posted August 12 (edited) 38 minutes ago, Shellyj said: This are the codes i have can you help fix in the correct one incase i didn't put it well Yes, you had errors with the placement and brackets, I've tried to fix everything here: @media screen and (min-width: 768px) and (max-width: 1024px) { .your-element-class { padding: 20px; font-size: 18px; } } /* Style image boxes in a grid layout */ .image-box-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; /* Adjust spacing as needed */ } .image-box { width: 100%; height: auto; object-fit: cover; /* Maintain aspect ratio and cover the box */ } /* Homepage-Tablet-2columns */ @media screen and (max-width:1024px) and (min-width:768px) { div#page-section-617842b2b7108941f46ea0cd .span-6 { width: 100%; } div#page-section-617842b2b7108941f46ea0cd .span-6 ~ .span-3 { width: 50%; } } // List grid columns @media screen and (max-width:940px) { .user-items-list-simple { grid-template-columns: 1fr 1fr !important; } } @media screen and (max-width:640px) { .user-items-list-simple { grid-template-columns: 1fr !important; } } There may also be unneeded code in there, but I don't know. Edited August 12 by Ziggy Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Shellyj Posted August 12 Author Share Posted August 12 Can you help take out the unneeded one please I tried so many things trying to fix this Link to comment
Shellyj Posted August 12 Author Share Posted August 12 Yayyy It worked Thanks for all of your help @Ziggy Ziggy 1 Link to comment
Ziggy Posted August 12 Share Posted August 12 1 hour ago, Ziggy said: @media screen and (min-width: 768px) and (max-width: 1024px) { .your-element-class { padding: 20px; font-size: 18px; } } This looks like it template CSS that hasn't been customized, is it doing anything? 1 hour ago, Ziggy said: /* Style image boxes in a grid layout */ .image-box-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; /* Adjust spacing as needed */ } .image-box { width: 100%; height: auto; object-fit: cover; /* Maintain aspect ratio and cover the box */ } I don't know what this is for, was it to try and get the two columns on tablet for a previous attempt? 1 hour ago, Ziggy said: /* Homepage-Tablet-2columns */ @media screen and (max-width:1024px) and (min-width:768px) { div#page-section-617842b2b7108941f46ea0cd .span-6 { width: 100%; } div#page-section-617842b2b7108941f46ea0cd .span-6 ~ .span-3 { width: 50%; } } This looks like another attempt, but using a classic editor section? This all could be removed potentially, but I don't know for sure. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Shellyj Posted August 12 Author Share Posted August 12 Thank you Will do away with them Link to comment
Ziggy Posted August 12 Share Posted August 12 24 minutes ago, Shellyj said: Will do away with them You can always replace if you keep a backup and find they were doing something important. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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