Ellen334 Posted January 4, 2021 Share Posted January 4, 2021 Site URL: http://www.gluten-freevacations.com Hi! I'm looking to change the font color for the main banner on www.gluten-freevacations.com to white on mobile only. I tried using the code below, but it isn't working. The gray font works well on desktop, but not on the mobile version just. Thoughts? thanks! @media only screen and (max-width: 640px) { #block-8c4ddc5f83fc9ca29d3f p {color:#FFFFFF} #block-8c4ddc5f83fc9ca29d3f h1 {color:#FFFFFF} } Link to comment
Beyondspace Posted January 4, 2021 Share Posted January 4, 2021 1 hour ago, Ellen334 said: Site URL: http://www.gluten-freevacations.com Hi! I'm looking to change the font color for the main banner on www.gluten-freevacations.com to white on mobile only. I tried using the code below, but it isn't working. The gray font works well on desktop, but not on the mobile version just. Thoughts? thanks! @media only screen and (max-width: 640px) { #block-8c4ddc5f83fc9ca29d3f p {color:#FFFFFF} #block-8c4ddc5f83fc9ca29d3f h1 {color:#FFFFFF} } It already change to white on mobile, maybe you want to clear cache? Note that you should add this to Design->Custom CSS BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.