Adcho Posted May 24, 2022 Posted May 24, 2022 Hi, I was wondering if there was a way to invert the mobile logo on just one specific mobile page? It was fairly easy to find information on how to invert the logo on one specific web page, but not for mobile. Thank you in advance! 🙂 Beyondspace 1
Beyondspace Posted May 24, 2022 Posted May 24, 2022 38 minutes ago, Adcho said: Hi, I was wondering if there was a way to invert the mobile logo on just one specific mobile page? It was fairly easy to find information on how to invert the logo on one specific web page, but not for mobile. Thank you in advance! 🙂 Can you share your site with the site-wide password so we can take a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Adcho Posted May 26, 2022 Author Posted May 26, 2022 (edited) Here you go! I have several other projects that have the inverted logo for desktop, but I would like to make the mobile version inverted to white as well. Currently the mobile logo is black. Edited May 26, 2022 by Adcho privacy reasons
tuanphan Posted May 26, 2022 Posted May 26, 2022 On 5/25/2022 at 6:10 AM, Adcho said: Hi, I was wondering if there was a way to invert the mobile logo on just one specific mobile page? It was fairly easy to find information on how to invert the logo on one specific web page, but not for mobile. Thank you in advance! 🙂 If Squarespace 7.1, you can edit that page >> Add a Code Block on bottom of page > Paste this code <style> @media screen and (max-width:767px) { header#header img { filter: invert(1); } } </style> If it doesnt work, change 1 to 0 Adcho 1 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!)
Adcho Posted May 26, 2022 Author Posted May 26, 2022 (edited) On 5/26/2022 at 3:44 AM, tuanphan said: If Squarespace 7.1, you can edit that page >> Add a Code Block on bottom of page > Paste this code <style> @media screen and (max-width:767px) { header#header img { filter: invert(1); } } </style> If it doesnt work, change 1 to 0 Hi it works great, but I just noticed that it remains black for the tablet view logo as well. Is there a way to invert it for both tablet and mobile within the same code or would another one be needed? Edited May 27, 2022 by Adcho privacy
tuanphan Posted May 27, 2022 Posted May 27, 2022 On 5/26/2022 at 3:34 PM, Adcho said: Hi it works great, but I just noticed that it remains black for the tablet view logo as well. Is there a way to invert it for both tablet and mobile within the same code or would another one be needed? Change 767px to 991px Adcho 1 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment