Blue212 Posted May 2, 2022 Share Posted May 2, 2022 Site URL: http://www.steveworkedonit.com Hi there. Hoping someone might be able to provide an answer on this one. I've been trying to change the background color/font color for my mobile menu drop down (mobile shows blue background/ white text0. Trying to have it match the desktop version (white background w/ blue text). I tried messing with some custom CSS / site styles based on previous posts, but have had no luck. Can anyone shed some light on this? Thanks! Site was made using Squarespace 7.0 Link to comment
tuanphan Posted May 5, 2022 Share Posted May 5, 2022 Add to Design > Custom CSS @media only screen and (max-width:800px) { div#mobileNav { background-color: white; } div#mobileNav * { color: #1259a1 !important; }} 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
Keenan1 Posted May 15 Share Posted May 15 Hi Tuanphan I have a few pages on my site that have a different colored background from others. Is it possible to style the Mobile Menu background specifically for only those pages? Main website: https://www.chromainteriors.co.nz Pages with different coloured background: https://www.chromainteriors.co.nz/services-2 https://www.chromainteriors.co.nz/about-2 Many thanks Frances Link to comment
tuanphan Posted May 17 Share Posted May 17 You can edit page > Add a Code Block at bottom of page > Paste this code. You can adjust color to what you want. <style> @media only screen and (max-width:800px) { div#mobileNav { background-color: white; } div#mobileNav * { color: #1259a1 !important; }} </style> 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
Keenan1 Posted May 19 Share Posted May 19 Thanks @tuanphan, that worked great. Is there a way we can change the background behind "MENU"? Many thanks Link to comment
tuanphan Posted May 21 Share Posted May 21 On 5/20/2024 at 6:05 AM, Keenan1 said: Thanks @tuanphan, that worked great. Is there a way we can change the background behind "MENU"? Many thanks Use this code to Custom CSS box div#mobileMenuLink { background-color: #f1f2f3 !important; } 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