Jump to content

CANT UPDATE A TEXT BOXs COLOUR

Recommended Posts

Hello !!  Just wondering if anyone knows how to fix this issue - Basically in both SS views Desktop + Mobile the phone number for ELAINE is navy blue but when I check it on my actual phone it's grey with a link line underneath.  

None of the following have fixed the problem yet

  1. Ive deleted this multiple times and made a new text box
  2. I've copied and pasted TAMARA text box and inserted new text
  3. Changed it multiple times in the COLOURS EDIT PAINT BRUSH THINGY 
  4. restarted computer
  5. refreshed my phone 
  6. refreshed SS
  7. removed the 'LINK' which is making it grey.....

Any ideas would be greatly appreciated - site is going LIVE soon 🙂   PLEASE HELP 😆

Screen Shot 2023-02-01 at 4.16.53 pm.png

Screen Shot 2023-02-01 at 4.17.01 pm.png

IMG_84A3E40FEF52-1.jpeg

Link to comment

My first guess would be the browser is overriding/ignoring the CSS. Actual mobile devices often do these kinds of things to provide a consistent user experience.

The reason it works in the desktop browser mobile view is that is just an emulation of a mobile environment but you are working on a computer, not an actual mobile device.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
On 2/1/2023 at 5:26 AM, spacecadetdigital said:

[In the mobile device preview window] the phone number for ELAINE is navy blue but when I check it on my actual phone it's grey with a link line underneath.  

Safari on iOS is designed to detect phone numbers on webpages and make them into links that call the number - even when you haven't added code to do this. It tries to be extra helpful 🙂. This link comes with Safari's own styling.

You should be able to override this by doing one of two things:

  • Use CSS to force the inherited styling
  • Add a meta tag to stop Safari detecting the numbers

You didn't provide a link to the site so I wasn't able to provide you with specific code tested on this site.

Did this help? Please give feedback by clicking an icon below  ⬇️

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.