Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Phone number text not displaying correctly

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Paul,
In the bottom 1 position I have used Zen s/cut codes to produce 4cols including 3 icons and all looks well apart from the phone and fax numbers.

The colour used for them is #ebb35b, a mustard goldy colour which fine when viewed with a PC but when viewed with an iPad the actual numbers 020-8520-5228 and 020-8520-5226 appear a grey colour.

I have tried putting hyphens in between to see if that help but alas no.

Any ideas??

www.mushroomhouse.co.uk
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
I'd try removing the inline styling and instead use custom.css to see if that solves the problem

There are nested span tags - not quite sure why safari doesn't like it though

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Any chance, creep, creep, you might give us a clue of what to put?
He says fingers crossed! As I just haven't a clue!
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
Sure

#bottomwrap {color:#ebb35b;}

Try that for the font colour

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
and you could also try

#bottomwrap .zen-icon {font-size:18px;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Paul, Sorry for a late reply I have been in France all day and only just got home. I have both of those pieces of code into my custom .css file but to no avail. There is no difference.
I have viewed it on two separate iPads just in case there was something wrong with mine but no difference!
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
hmm odd

Can you also try removing

<span style="text-align: center;">
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Tried that and still no different.
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
hmm maybe because there is no tag it is defaulting to the inherit style
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
try adding

#bottom1 .zg-col {color: #ebb35b;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul, tried that and unfortunately that's not worked. I am assuming all prior items that you have suggested do stay?
I'm not supposed to take them back out if they did not work?
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
Try adding a tag something like strong that wraps the tags and then get back to me

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Think I have tried that correctly, unfortunately no different.
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
The administrator has disabled public write access.
hmm can you try removing the background image from the custom module

background-image:url(#EBB35B);

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Michael Fitzpatrick
Bad news I'm afraid that did not do anything, but I have Good News!

Please do not be offended after all your help but I have found a solution. I found an article about iPads and iPhones treat phone numbers as links and it involved using this piece of code:

{zen-3}{zen-phone-square}<a href="020 8520 5226" tabindex="-1"><span style="color: #ebb35b;">020 8520 5228</span></a>{/zen-phone-square}</strong><br /><strong>{zen-fax}<a href="020 8520 5226" tabindex="-1"><span style="color: #ebb35b;">020 8520 5226</span></a>{/zen-fax}{/zen-3}

Which seems to have solved the problem! Not that I am clever enough to work that out but the article that I read is here in case you wanted to see:

geoffmuskett.com/css-styling-for-phone-numbers-on-iphone-and-ipad/

Anyway, as always thank for your help and support on this over the past week.
  • Michael Fitzpatrick's Avatar
  • Michael Fitzpatrick
  • 12 Month basic
  • 226 posts
  • Karma: 0
Last Edit: 7 years 1 month ago by Michael Fitzpatrick.
The administrator has disabled public write access.
Thanks for the info

I was trying to avoid using a link as you get a 404 if you click on it
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Try adding to the html

<a href="tel:020 8520 5228">020 8520 5228</a>
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
Last Edit: 7 years 1 month ago by manh.
The administrator has disabled public write access.
and

a[href^="tel:"] {
color: #ebb35b;
text-decoration: none;
}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
with fax try replacing tel with fax
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
You would probably want to try with a nofollow as well in the links e.g.

<a href="tel:020 8520 5228" rel="nofollow">020 8520 5228</a>
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers