Begona Posted November 29, 2021 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.
Beyondspace Posted November 29, 2021 Posted November 29, 2021 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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Beyondspace Posted November 29, 2021 Posted November 29, 2021 My testing result BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Begona Posted November 29, 2021 Author 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!!
Begona Posted November 29, 2021 Author 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?
Beyondspace Posted November 29, 2021 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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Begona Posted November 29, 2021 Author 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 Posted November 29, 2021 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 🙂 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Recommended Posts
Archived
This topic is now archived and is closed to further replies.