Begona Posted November 29, 2021 Share Posted November 29, 2021 Site URL: https://cadimat.squarespace.com/inicio Hi, I need help! I’ve managed to change my logo to white in a specific page and it looks great on desktop. However, because I’m using a light mobile menu, the logo isn’t visible when clicking the mobile menu on that specific page. Is it possible to leave the white logo on the page but invert it only when clicking on the menu mobile menu an only for this specific page? Ideally, I would need to apply this change to cart and hamburger too. The page where I need to make the changes is: https://cadimat.squarespace.com/inicio I appreciate any help. Link to comment
Beyondspace Posted November 29, 2021 Share Posted November 29, 2021 (edited) 4 hours ago, Begona said: Site URL: https://cadimat.squarespace.com/inicio Hi, I need help! I’ve managed to change my logo to white in a specific page and it looks great on desktop. However, because I’m using a light mobile menu, the logo isn’t visible when clicking the mobile menu on that specific page. Is it possible to leave the white logo on the page but invert it only when clicking on the menu mobile menu an only for this specific page? Ideally, I would need to apply this change to cart and hamburger too. The page where I need to make the changes is: https://cadimat.squarespace.com/inicio I appreciate any help. Hi @Begona, You can try adding to Home > Design > Custom Css @media screen and (max-width: 767px) { /*style for logo when openning menu*/ .header--menu-open .header-mobile-logo img { filter: invert(0); -webkit-filter: invert(0); } /*style for close button when openning menu*/ .header--menu-open .burger-inner .top-bun, .header--menu-open .burger-inner .bottom-bun { background-color: #000 !important; } } Let me know how it works on your site Press 👍 or mark this answer as solution to help another one too Edited November 29, 2021 by bangank36 Update for close button also Begona 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Beyondspace Posted November 29, 2021 Share Posted November 29, 2021 My testing result Begona 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Begona Posted November 29, 2021 Author Share Posted November 29, 2021 29 minutes ago, bangank36 said: Hi @Begona, You can try adding to Home > Design > Custom Css @media screen and (max-width: 767px) { /*style for logo when openning menu*/ .header--menu-open .header-mobile-logo img { filter: invert(0); -webkit-filter: invert(0); } /*style for close button when openning menu*/ .header--menu-open .burger-inner .top-bun, .header--menu-open .burger-inner .bottom-bun { background-color: #000 !important; } } Let me know how it works on your site Press 👍 or mark this answer as solution to help another one too It's just what I needed! Thank you sooo much, @bangank36!! Link to comment
Begona Posted November 29, 2021 Author Share Posted November 29, 2021 9 minutes ago, Begona said: It's just what I needed! Thank you sooo much, @bangank36!! The only detail is that it's not working on some tablets. Can you help me with the correct media query so it works for both mobile and tablet @bangank36? Link to comment
Beyondspace Posted November 29, 2021 Share Posted November 29, 2021 15 minutes ago, Begona said: The only detail is that it's not working on some tablets. Can you help me with the correct media query so it works for both mobile and tablet @bangank36? Surely, you can implement it by increasing the breakpoint in my previous code Change (max-width: 767px) to (max-width: 1024px) Hope it can help you Begona 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Begona Posted November 29, 2021 Author Share Posted November 29, 2021 5 minutes ago, bangank36 said: Surely, you can implement it by increasing the breakpoint in my previous code Change (max-width: 767px) to (max-width: 1024px) Hope it can help you Thank for all your help, @bangank36!!! Beyondspace 1 Link to comment
Beyondspace Posted November 29, 2021 Share Posted November 29, 2021 I 've checked again and found that it is not necessary to set breakpoint for your issue. Just /*style for logo when openning menu*/ .header--menu-open .header-mobile-logo img { filter: invert(0); -webkit-filter: invert(0); } /*style for close button when openning menu*/ .header--menu-open .burger-inner .top-bun, .header--menu-open .burger-inner .bottom-bun { background-color: #000 !important; } Hope it can clean your css code 🙂 tuanphan 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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