Nicole_DG Posted October 16 Posted October 16 Site URL: https://www.omega-environmental.org I wanted to enlarge the logo on this site, as the mobile view made it appear tiny. I recently found this custom code (see below) on another post, which worked to enlarge the logo, however now the logo is aligned too low within the header and when you scroll down on the mobile view, it hangs a bit below the header. Ideally, I would like to enlarge the logo a bit more, without it bleeding down below the header when scrolling on mobile - but also keep it center-aligned with the hamburger menu. Is this possible? TY!! Code currently using: @media screen and (max-width: 767px) { .header-title-logo img { max-height: 60px; } }
Ziggy Posted October 16 Posted October 16 (edited) You shouldn't need code for this, you can adjust the mobile logo size in the header logo settings: Edited October 16 by Ziggy Nicole_DG 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
Nicole_DG Posted October 16 Author Posted October 16 (edited) Yes, but that way also enlarges the header, stretching it down the screen more. I do not want the header space any taller. Edited October 16 by Nicole_DG
Ziggy Posted October 16 Posted October 16 1 hour ago, Nicole_DG said: Yes, but that way also enlarges the header, stretching it down the screen more. I do not want the header space any taller. Then you probably want to adjust the padding, try this code and adjust the values, you will still need to adjust the logo size: @media only screen and (pointer: coarse) and (max-width: 1024px), screen and (max-width: 799px) { .header .header-announcement-bar-wrapper { padding: 4vw 4vw; } } 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
Nicole_DG Posted October 16 Author Posted October 16 Thank you for your assistance. I've tried that and I can see it does adjust the padding, unfortunately it does not address the alignment issue with the hamburger. Also part of the logo still hangs below the header when scrolling, which is probably the biggest issue.
Solution Ziggy Posted October 16 Solution Posted October 16 6 hours ago, Nicole_DG said: Code currently using: @media screen and (max-width: 767px) { .header-title-logo img { max-height: 60px; } } The overlap is because you still have this code, if you remove it and rely on the settings it won't overlap. Nicole_DG 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment