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
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
Hi Ismael,
works great, thanks!!
Cheers,
Alex