claudiafrat Posted September 15, 2022 Share Posted September 15, 2022 Site URL: https://bozoo.it/ Site URL: https://bozoo.it/ Password: Bozooimilioni Hello, I am trying resize the header image for the mobile and tablet. I've tried several custom code published in the forum but nothing works for my website. Also the shopping icon is cut on the right, how can i fix that? Thank in advance for the help! Link to comment
Ziggy Posted September 15, 2022 Share Posted September 15, 2022 Hi @claudiafrat, I'm assuming that what you want is the image text (BOOZO) to be visible and readable on mobile. What you need to do is to adjust the section height to be responsive to the viewport width, this guide should be exactly what you need: https://www.will-myers.com/articles/prevent-background-images-from-cropping-in-squarespace-71 This would be how you might adjust the code to suit your page: [data-section-id="62d2c41f3af73060d646c0d5"] { min-height:clamp(0px, 56.25vw, 50vh) !important; } For the shopping icon getting cut off, you may want to adjust the mobile logo to be a little smaller in the sytle settings. claudiafrat 1 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
claudiafrat Posted September 15, 2022 Author Share Posted September 15, 2022 (edited) Hi @Ziggy thank you for the help! I've solved the shopping icon problem. However I've tried to adapt the Aspect ratio value as the video suggested but nothing is changing 🤔. I'm using this code section[data-section-id="62d2c41f3af73060d646c0d5"] { min-height:clamp(0px, 75vw, 100vh) !important; } Edited September 15, 2022 by claudiafrat Link to comment
Ziggy Posted September 15, 2022 Share Posted September 15, 2022 24 minutes ago, claudiafrat said: Hi @Ziggy thank you for the help! I've solved the shopping icon problem. However I've tried to adapt the Aspect ratio value as the video suggested but nothing is changing 🤔. I'm using this code section[data-section-id="62d2c41f3af73060d646c0d5"] { min-height:clamp(0px, 75vw, 100vh) !important; } You need to remove "section", try using exactly this in to your Custom CSS and make sure there's no other code targeting the section: [data-section-id="62d2c41f3af73060d646c0d5"] { min-height:clamp(0px, 56.25vw, 50vh) !important; } claudiafrat 1 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 September 15, 2022 Share Posted September 15, 2022 I think the only efficient way to help you would be to edit your site directly, would you be able/willing to send a contributor invitation? 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
claudiafrat Posted September 15, 2022 Author Share Posted September 15, 2022 @Ziggy thank you for the support and the help! No problem for the contribution invitation, the only thing i need you email to send you the invitation. Link to comment
Ziggy Posted September 16, 2022 Share Posted September 16, 2022 Please have a look now, I've solved the problem, it seems that it wasn't working because of the empty rows of "content" in the section, not only on desktop, but with Fluid Engine, I had to remove all (but one) of the rows so that they didn't interfere with the CSS. I might suggest that you alter your image to have more blank purple wall at the top so that on mobile the image can be taller and the flower won't go behind the header logo. If you do this you can adjust the 56.25vw to be a larger value. Please upvote if this was helpful! 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