cicc1991 Posted February 24, 2023 Share Posted February 24, 2023 Evening folks, I've just managed to hide the menu burger from my mobile site with some custom code from this forum. I have a personal plan. The logo is unfortuantely now not centered on the page and is leaning quite heavily to the right. What code would I need to add to align the logo to the center on mobile? And would I simply add it below the previous custom code? Thank you in advance. Link to comment
Mdhanjal Posted February 25, 2023 Share Posted February 25, 2023 share your site url pls? Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me, Email me here: - mandeepsquarespace@gmail.com Hire Upwork: - https://www.upwork.com/freelancers/~01eed466e76c89e024 Behance: - https://www.behance.net/mandeepSquarespace Best Hourly Rate: - $15 Per Hour Link to comment
cicc1991 Posted February 25, 2023 Author Share Posted February 25, 2023 @Mdhanjal_Squarespace www.watertownproductions.com Link to comment
Solution Ziggy Posted February 25, 2023 Solution Share Posted February 25, 2023 11 hours ago, cicc1991 said: What code would I need to add to align the logo to the center on mobile? And would I simply add it below the previous custom code? Try adding this to your custom CSS: @media only screen and (max-width:767px) { .header .header-mobile-layout-logo-center-nav-right .header-display-mobile .header-title { padding-left:0px; } } Hope that helps! tuanphan 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
jello76 Posted May 28, 2023 Share Posted May 28, 2023 I am trying to do the same thing, but there is something wrong in my code elsewhere. After adding social media icons to my header, I can't get the logo centered. I am sure there is something I am missing. Every time I get the logo centered, my social icons disappear. www.flippedpot.com I already have the following: .header .header-actions, .header .header-actions-action--social {display: flex} .header .header-title-nav-wrapper {flex: 47%;} @media only screen and (pointer: coarse) and (max-width: 1024px), screen and (max-width: 799px) { .header-actions--center .header-actions-action--social .icon:not(:first-child) {margin-left: 1vw;}} @media only screen and (max-width:767px) {.header .header-mobile-layout-logo-center-nav-right .header-display-mobile .header-title {padding-right: 1vw; }} Thank you! Link to comment
tuanphan Posted June 1, 2023 Share Posted June 1, 2023 Try adding this to Design > Custom CSS @media screen and (max-width:767px) { .header-mobile-logo { padding-right: 0 !important; } .header-actions.header-actions--right a { width: 25px !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment