Archived topic
Clickable Header/Logo Image
3 replies · Started by John on June 19, 2019
Viewing posts 1–4 of 4
Hi,
I have a different header/logo image on desktop vs. mobile and wanted someone to be able to click those images and be taken to a specific page. Can you help me with that?
Hi there,
Try this:
<div class="hide-on-mobile">
<div class="site-logo">
<a href="https://LINK-URL" title="SITE-TITLE"><img src="MAIN LOGO DESKTOP IMAGE" alt="" /></a>
</div>
</div>
<div class="hide-on-desktop">
<div class="site-logo">
<a href="https://LINK-URL" title="SITE-TITLE"><img src="MAIN LOGO MOBILE IMAGE" alt="" /></a>
</div>
</div>
Let me know if this helps :)
Yes, that worked perfectly. Thanks!
No problem :)
This archived topic is closed to new replies.