How to change external logo link

voraugolf
Visitor
1 0 0

I need to change the logo link on my shopify page and I am unable to find it in the code.

I am using Debut design and I have looked at the other forums on this topic but I am unable to locate the place to change the link

Replies 5 (5)

Nisarg
Shopify Partner
26 5 10

Go to header.liquid from "section" folder of your debut theme's code editor.

You will find below mention code there,

          {% if section.settings.logo %}
            {%- assign img_url = section.settings.logo | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
            <a href="/" class="site-header__logo-image..........................

just change the "href" as per your need.

Your logo link will get change.

Do update me here once it is done or you face any issue. 

xGhost
Tourist
13 0 3

@Nisarg can you inbox me, i dont know how to message user/ contact

digital_wonder
Visitor
1 0 0

Hi,

I have updated the logo link, just wondering if there is a way for the external link to open in the same tab instead of opening a new tab?

Thanks

ReStoresMers
Visitor
1 0 0

Just an FYI - code cannot be added to an unpurchased theme!

Dirk
Shopify Staff
2217 247 506

Hey, @voraugolf!

 

I appreciate you reaching out today. Are you looking to change your logo that appears on your homepage? Would you be able to provide me with a screenshot of what you are referring to?

 

With that said, you can change your logo that shows on your storefront header by going into your theme editor:

 

  1. From your Shopify admin click Online Store.
  2. Select Themes underneath.
  3. Click the Customize button on the right side of the screen.
  4. Once the theme editor loads, you will want to click on the Header section to make edits to it.
  5. From within the header section you should see an upload box for your logo image.

 

Let me know if that helps!

 

 

 

 

Dirk | Social Care @ 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