Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Changing font color on mobile


Ellen334

Question

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

1 answer to this question

Recommended Posts

  • 0
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

image.png.1aef7145ee5094946401953cfbc131a6.png

Greeting, it's BaNgan from 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, Portfolio hover Replace Link Style
If 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...