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

0 Likes
Chris_D
Shopify Staff
Shopify Staff
103 0 22

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

0 Likes
Marion_Moche
New Member
13 0 0

Hi Chris,

Thanks for the quick reply.

It worked perctly. 

Regards

 

Marion

0 Likes
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! 

0 Likes
Carmen-Logics
Tourist
8 0 1

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!

0 Likes