ryanbrinkerhoff Posted January 8 Share Posted January 8 (edited) https://www.grdowntownmarket.com/ pw: Market4321 My website looks fine on a desktop, iphone, and ipad. When I reduce the width of my Chrome window to 767px, a messed up version of my mobile site is shown, even though my CSS defines mobile view to occur at 640px. Is there a way to avoid the mobile site showing on desktop? It's frustrating because I thought I had all my bases covered. CSS code parameters: //mobile code @media screen and (max-width: 640px) { Mobile code here } //tablet code @media screen and (min-width: 641px) and (max-width:1080px){ Tablet code here } Edited January 8 by ryanbrinkerhoff forgot attachment Link to comment
Ziggy Posted January 8 Share Posted January 8 19 minutes ago, ryanbrinkerhoff said: reduce the width of my Chrome window to 767px The mobile break point in version 7.1 is 767px, not 640px, so at 767px the view has switched to the mobile layout. You can't adjust this and since it switches based on screen resolution you can't prevent it on desktop. You may want to adjust your Custom CSS to account for that. Tablet is 768px up to a user-defined value since tablet view is the same layout as desktop. 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
ryanbrinkerhoff Posted January 8 Author Share Posted January 8 (edited) @Ziggy Thanks! I adjusted my breakpoints but it still seems to snap to mobile view and look weird. Large vertical gaps between elements and misaligned objects. See attachments. When I keep scaling the browser window, it eventually displays the correct mobile view at 520 px. What do I do about the widths between 767px and 520px? Is there a trick to tweaking things in that range? Edited January 8 by ryanbrinkerhoff tagging reply Link to comment
ryanbrinkerhoff Posted January 10 Author Share Posted January 10 @Ziggy @tuanphan Does anyone have any other suggestions on what to do about the range between 520px and 767px? There has to be a way to tweak things, right? Thanks! Link to comment
Solution Ziggy Posted January 10 Solution Share Posted January 10 This problem isn't as bad as when first launched, but have a look at this link and solution: https://www.will-myers.com/articles/fixing-the-tablet-spacing-problem-in-squarespace-fluid-engine 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
ryanbrinkerhoff Posted January 10 Author Share Posted January 10 @Ziggy Oh my gosh I think this is going to work! Thanks! Ziggy 1 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