GECKO TEMPLATE - H1 error in home page

Schellenberg
Tourist
5 0 1

Before asking this question, I researched a lot in various sources and found no solution.


My support period for GECKO - The4 is over, so I can't get help from them.

 

According to NEILPATEL.COM, there is no H1 HEADING on the home page.

001.jpg

 

 

I already looked in the code editor and also found nothing.
The Title and meta description are already filled in as well.

 

002.jpg

 

Please, I need a solution.

Replies 4 (4)
MS-WEB-DESIGNER
Shopify Partner
3012 181 484

Dear Schellenberg,

 

According to given title and meta description, it is not H1 tag, title and description will appear in google search.

Find in your code something like this <h1>Text</h1>

banned
TungDao
Shopify Partner
257 10 36

Like @MS-WEB-DESIGNER said, find the h1 tag in your code.

 

If you want to learn more, check out our article on e-commerce SEO cause it's really important if you are gonna do this in the long run.

Avada is an e-commerce solution provider based in the heart of Vietnam where the best developers unite. Founded in 2017 by Mageplaza, Avada is responsible to complete the mission to help 1 million online businesses grow revenues.
Schellenberg
Tourist
5 0 1

Thanks for the replies,

 

I found the H1 however,

it is linked to the logo and the title is in the ALT of the image and the SEO apps do not identify it

 

001.jpg002.jpg

 

So, I still haven't found the solution.

Schellenberg
Tourist
5 0 1

I found the following code that references H1

 
 

 
{% if template.name == 'index' %}
    <h1 class="h2 fs__14 jas-branding ts__05 mr__0">
  {% else %}
    <div class="jas-branding ts__05">
  {% endif %}
    {% if settings.body_logo_svg != blank %}
       <a class="site-header__logo-link" href="/">
        <img src="{{ settings.body_logo_svg | file_url }}" alt="{{ image.alt | default: shop.name }}">  
       </a>
      {% elsif settings.body_logo_image %}
      {%- assign image = settings.body_logo_image -%}
      {%- assign img_url = image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
      <a href="/" itemprop="url" class="db pr">
         <img class="w__100 regular-logo lazypreload lazyload"
             src="{{ image | img_url: '500x500' }}"
             data-src="{{ img_url }}"
             data-widths="[200, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]"
             data-aspectratio="{{ image.aspect_ratio }}"
             data-sizes="auto"
             alt="{{ image.alt | default: shop.name }}"
             style="opacity:1;max-width: {{ settings.logo_max_width }}px;max-height: {{ settings.logo_max_height }}px">
        {%- assign image_retina = settings.body_logo_image_retina -%}
        {%- if image_retina != blank or settings.body_logo_image != blank -%}
            {%- assign image_retina = settings.body_logo_image_retina -%}
        {%- elsif settings.body_logo_image  != blank -%}
            {%- assign image_retina = settings.body_logo_image -%}
        {%- endif -%}
        {%- if image_retina != blank -%}
           {%- assign img_url = image_retina | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
           <img class="w__100 retina-logo lazyload"
                src="{{ image_retina | img_url: '500x500' }}"
                data-src="{{ img_url }}"
                data-widths="[200, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]"
                data-aspectratio="{{ image_retina.aspect_ratio }}"
                data-sizes="auto"
                alt="{{ image_retina.alt | default: shop.name }}"
                style="opacity:1;max-width: {{ settings.logo_max_width }}px;max-height: {{ settings.logo_max_height }}px">
         {%- endif -%}
         {%- assign image_sticky = settings.body_logo_image_sticky -%}
         {%- if image_sticky != blank -%}
            {%- assign img_url = image_sticky | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
            <img class="w__100 stick-logo lazyload"
                src="{{ image_sticky | img_url: '150x150' }}"
                data-src="{{ img_url }}"
                data-widths="[200, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]"
                data-aspectratio="{{ image_sticky.aspect_ratio }}"
                data-sizes="auto"
                alt="{{ image_sticky.alt | default: shop.name }}"
                style="opacity:1;max-width: {{ settings.logo_max_width_sticky }}px;max-height: {{ settings.logo_max_height_sticky }}px">
         {%- endif -%}
      </a>
    {% else %}
      <a class="site-header__logo-link" href="/">{{ shop.name }}</a>
    {% endif %}
  {% if template.name == 'index' %}
    </h1>
  {% else %}
    </div>
  {% endif %}