Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #491525

    Hi,

    i’ve added a click to call link to a phone number like described here: https://kriesi.at/support/topic/phone-number-click-to-call/#post-452509

    Works great on mobile phones, but on desktops the click to call button will link to the 404 Page. Is it possible to set the link only for mobile or is it possible to set another link for desktops?

    Thanks!

    Cheers,

    Alex

    #492004

    Hey AdDesign!

    Thank you for using Enfold.

    Please modify the phone info code, add a unique class attribute:

    <a class="custom-phone-info" href="tel:0401786376">tel:0401786376</a>
    

    Add this in the Quick CSS field to disable the link on desktop view:

    @media only screen and (min-width: 989px) {
    .custom-phone-info { pointer-events: none; }
    }

    Best regards,
    Ismael

    #492052

    Hi Ismael,

    works great, thanks!!

    Cheers,
    Alex

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Click to call’ is closed to new replies.