cicc1991 Posted February 24 Share Posted February 24 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 Share Posted February 25 share your site url pls? Hi, I'm BITTU. A website developer with 8 years experience with Squarespace. if you need help and work with me email me here :- mandeepsquarespace@gmail.com Best Hourly Rate :- $15 Per Hour Link to comment
cicc1991 Posted February 25 Author Share Posted February 25 @Mdhanjal_Squarespace www.watertownproductions.com Link to comment
Solution Ziggy Posted February 25 Solution Share Posted February 25 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 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
jello76 Posted May 28 Share Posted May 28 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 Share Posted June 1 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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