Over at this website Link to the site, there's contact information located on the top right, including a tel: link for mobile users. How can we effectively hide the tel: link specifically for desktops in the simplest manner? Currently, the setup looks like this:
CSS:
#header .contact-info1 { width: 253px; height: 50px; display: block; float: right; background: url(contact-info1.png) 0 0 no-repeat transparent; margin-right: 39px; margin- top: 110px; }
#header .contact-info2 { width: 292px; height: 51px; display: block; float: right; background: url(contact-info2.png) 0 0 no-repeat transparent; margin-right: 0px; margin- top: 30px; }
@media only screen and (max-device-width: 480px) {
#header .contact-info1-mobile { width: 253px; height: 50px; display: block; float: right; cursor: pointer; background: url(contact-info1.png) 0 0 no-repeat transparent; margin-right: 39px; margin-top: 110px; }
#header .contact-info2-mobile { width: 292px; height: 51px; display: block; float: right; cursor: pointer; background: url(contact-info2.png) 0 0 no-repeat transparent; margin-right: 0px; margin-top: 30px; }
HTML:
<a href="tel:+491796737741" class="contact-info1-mobile" ></a>
<div style="clear:right"></div>
<a href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d4bdbab2bb94a6a3f9b2b8bdb1a7b1bafab7bbb9">[email protected]</a>" class="contact-info2-mobile" ></a>
Currently, I have successfully hidden the link for desktop views, but how can I maintain the visibility of the contact images while hiding the link exclusively for desktop users?