- This topic has 6 replies, 2 voices, and was last updated 6 years, 4 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Graduate › Phone link not working
We 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
– Mark
My post took my html code literally. the code looks like this:
< a href=”tel:2147483647″ ><i class=”fa fa-phone”></i>+812-254-xxxx
Hello @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!!
Thanks 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!
Hello @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!!
Hmmm… 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!
Hello @thegrandmarker,
If you have any issues further feel free to ask 🙂 .
Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |