Link Logo Header

Marion_Moche
New Member
13 0 0

Hi,

 

Is there a way I can link my logo at the top of the page to our about us page? At the moment, if someone clicks on the logo it sends them to the front page again (like a simple page reload).

We are using the supply theme.

 

Thanks

Marion

Replies 5 (5)
Chris_D
Shopify Staff
103 0 24

Hi Marion,

Chris from Shopify here. On the supply theme, the code that controls the URL that the header logo links to is on line 84 of theme.liquid. You should see a snippet that looks like "<a href "/" itemprop url">. If you change the "/" in that snippet to the URL you copy and paste from your about us page, it will then link to the About Us page when clicked on. Hope that helps!

Regards,

Chris D
Shopify Guru

Chris | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Marion_Moche
New Member
13 0 0

Hi Chris,

Thanks for the quick reply.

It worked perctly. 

Regards

 

Marion

mdh0153
New Member
1 0 0

@Chris_D @Marion_Moche (and to anyone else interested)

 

FYI, this method is no longer accurate with their current themes. <a href... is no longer in theme.liquid. To change, you have to go to "Sections > header.liquid", THEN make the changes detailed above. Hope this saves somebody some time! 

Carmen-Logics
Excursionist
16 0 5

Hi there,

When I go to the header.liquid, here's what I find instead <a href="{{ routes.root_url }}" itemprop="url">. 

What should I change there so I can link to an external site?

 

Thanks!

JerseyV
New Member
1 0 0

You delete {{ routes.root_url }} and insert your url. So it will be:  

<a href="https://www.yourwebsite.com/" itemprop="url">.