opalgenesis Posted April 6, 2023 Share Posted April 6, 2023 Hi friends, I'm working on my mobile site, and because I don't have additional pages on my computer version, I don't need the hamburger menu on the mobile version. Because of this, I put in the following code to remove the hamburger menu (code featured below). Without the hamburger menu, the title of my website won't center. This isn't an uploaded logo, it's just text. I've played around with the options that squarespace provides to move the website title around, and it refuses to center. I'm assuming a code needs to be implemented? I've confirmed that the code that removes the hamburger is the one that prevents the site title to go full center. Thanks for looking! @media only screen and ( max-width: 1024px ) and ( pointer: coarse ), screen and ( max-width: 799px ) { .header-display-mobile .header-burger { display: none; } } Link to comment
tuanphan Posted April 8, 2023 Share Posted April 8, 2023 Hi, Use this new code div.header-burger { display: none; } .header-display-mobile { flex-direction: column; } 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