Jump to content

URL clickable for Header Element

Recommended Posts

Site URL: https://www.deprio.com/home

Hi! I replaced the customer "account" login text link in the header with a font awesome icon.  I want to see if there is a code that can make this icon clickable to go to another page on my site.  I'm using 7.1,  thanks!

 

Here is the code I used in the code injection to create the icon:

<script>
    $(".user-accounts-link").append("<i class='fa fa-user-o' aria-hidden='true'></i>");
</script>

 

And the CSS I used:


.user-accounts-text-link{
  display:none!important;
   }

 

Link to comment
  • Replies 4
  • Views 611
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.