Logo image is used in H1 tag

Tourist
30 0 2

I want to change not using logo in H1 tag to improve SEO.

Please help to advise the script.

 

How to add or edit on each page?

1 Like
Highlighted
Explorer
78 1 5

I would like to know this as well.


0 Likes
Excursionist
27 0 6

Smeelah -

In theme.liquid, you can change the h1 tag that wraps the logo - I updated the section in red below of where to change from h1 to div:

 

<div class="site-header__logo" itemscope="" itemtype="http://schema.org/Organization">
<noscript>
<div class="logo__image-wrapper">
<img src="//cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_120x.png?v=1573163754" alt="LeilaCools" />
</div>
</noscript>
<div class="logo__image-wrapper supports-js">
<a href="/" itemprop="url" style="padding-top:45.94017094017094%;">
<img class="logo__image lazyautosizes lazyloaded" src="//cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_300x300.png?v=1573163754" data-widths="[120, 180, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 1944, 2048]" data-aspectratio="2.1767441860465118" data-sizes="auto" alt="LeilaCools" itemprop="logo" data-srcset="//cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_120x.png?v=1573163754 120w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_180x.png?v=1573163754 180w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_360x.png?v=1573163754 360w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_540x.png?v=1573163754 540w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_720x.png?v=1573163754 720w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_900x.png?v=1573163754 900w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1080x.png?v=1573163754 1080w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1296x.png?v=1573163754 1296w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1512x.png?v=1573163754 1512w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1728x.png?v=1573163754 1728w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1944x.png?v=1573163754 1944w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_2048x.png?v=1573163754 2048w" sizes="120px" srcset="//cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_120x.png?v=1573163754 120w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_180x.png?v=1573163754 180w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_360x.png?v=1573163754 360w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_540x.png?v=1573163754 540w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_720x.png?v=1573163754 720w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_900x.png?v=1573163754 900w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1080x.png?v=1573163754 1080w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1296x.png?v=1573163754 1296w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1512x.png?v=1573163754 1512w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1728x.png?v=1573163754 1728w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_1944x.png?v=1573163754 1944w, //cdn.shopify.com/s/files/1/2727/1914/files/headerbarlogo_2048x.png?v=1573163754 2048w">
</a>
</div>


</div>

Steve | @ PromoPrep
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
---------------------------------------------------------------
Digital Marketer & Web Analyst
If you are looking for a better way to manage and plan your promotions, check out PromoPrep.com
1 Like
Explorer
78 1 5

Thank you stevelam.

I edited the alt text for the logo but it seems to revert back to my shop name so I'm very happy to have this option.

1 Like

I thought <img /> should be used in Logo. H1 is use for headlines.

0 Likes