Home Forums Free Themes Graduate Phone link not working

Tagged: , ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #72960
    TheGrandMarkE
    Participant

    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

    #72961
    TheGrandMarkE
    Participant

    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

    #72964
    wensolutions
    Keymaster

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

    #72977
    TheGrandMarkE
    Participant

    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!

    #72983
    wensolutions
    Keymaster

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

    #72987
    TheGrandMarkE
    Participant

    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!

    #72988
    wensolutions
    Keymaster

    Hello @thegrandmarker,

    If you have any issues further feel free to ask 🙂 .

    Regards!!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.