Home › Forums › Free Themes › Graduate › Phone link not working
- This topic has 6 replies, 2 voices, and was last updated 7 years, 5 months ago by
wensolutions.
-
AuthorPosts
-
May 31, 2018 at 1:43 am #72960
TheGrandMarkE
ParticipantWe love this theme, but noticed the phone link in the header is not working. It displays the correct number, but when you click on it, it tries to dial 2147483647. I used Chrome Developer tools to look at the code, and found the link looks like this:
<i class=”fa fa-phone”></i>+812-254-xxxx
(I replaced the real number with xxxx)
I cannot find anywhere where I can modify the hyperlink – only the text displayed.
Interestingly, the number 2147483647 is significant….. is this a software issue?
Thanks
– MarkMay 31, 2018 at 1:45 am #72961TheGrandMarkE
ParticipantMy post took my html code literally. the code looks like this:
< a href=”tel:2147483647″ ><i class=”fa fa-phone”></i>+812-254-xxxx
May 31, 2018 at 3:10 am #72964wensolutions
KeymasterHello @thegrandmarker,
First of all thank you very much for the appreciations.
Now as for your query, the no does not redirect to any other pages or links. It is just wrapped with “a” tag
To resolve the confusion you can remove the link from the phone no and to do so please use below given CSS by going to Admin Panel > Appearance > Customize > Additional CSS.
#top-bar ul.address-block li a{ pointer-events: none; }This will remove the link from the no.
Hope this helps.
Best Regards!!
May 31, 2018 at 9:17 am #72977TheGrandMarkE
ParticipantThanks so much for the quick response. Actually, we want the link to work – we just want it to dial the number we entered, and not the other one. We assumed that this is what it would do, but when we tried it, it did not work. How/where do we replace the existing number with our real number? I could never find it in the CSS, but perhaps I should be doing it in the Additional CSS and not the source CSS.
Thanks!
May 31, 2018 at 11:24 am #72983wensolutions
KeymasterHello @thegrandmarker,
What you are looking for is not available in the theme and to do so requires a higher code customization.
Hope you understand.
Let us know if you have any issues further.
Thank you.
Regards!!
May 31, 2018 at 11:31 am #72987TheGrandMarkE
ParticipantHmmm… Okay, thanks for the info. I thought surely we could edit the phone number in the link somewhere. I will implement your first solution. Thanks!
May 31, 2018 at 11:46 am #72988wensolutions
KeymasterHello @thegrandmarker,
If you have any issues further feel free to ask 🙂 .
Regards!!
-
AuthorPosts
- You must be logged in to reply to this topic.





