How can I add H1 tags to my webpage titles?

Ljvapes
Explorer
99 2 5

Hi All 

 

my page when i run the seo checker tells me that i have no H1 agains some pages see atatched image 

 

 does anyone know how i can make thes page titles h1 please ?

 

Capture.PNG

Replies 6 (6)

Liqiud_xPert_SJ
Shopify Partner
730 93 115

@Ljvapes 

 

please share your store url let me check into it and give you a solution.

 

thanks

- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂
Ljvapes
Explorer
99 2 5

Hi Thank you i have managed to fix the other ones but I cant find a fix for the Blog page title to be h1 ?

 

store url is https://ljvapes.co.uk/

 

Liqiud_xPert_SJ
Shopify Partner
730 93 115

@Ljvapes 

edit your blog template form the theme files and look for an h4 and replace with it h1.

2024-03-12 21_07_49-Window.png

thanks

- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂
Ljvapes
Explorer
99 2 5

I cant seem to find it anywhere in the blog-template.liquid?

 

the below is what i have 

 

{% comment %}
Loop through a defined number of articles with the 'paginate' tag.
Don't forget to close the tag after your loop.
{% endcomment %}

{% paginate blog.articles by 5 %}

{% comment %}
This template is also used for listing out articles of a specific tag.
You can change layouts or styles by checking if current_tags is true.
{% endcomment %}

<div class="row">
{% if current_tags %}
{% if settings.enable_multilang %}
<h4 class="block-title lang1">{{ blog.title | split: '|' | first | link_to: blog.url }} &raquo; {{ current_tags.first }}</h4>
<h4 class="block-title lang2">{{ blog.title | split: '|' | last | link_to: blog.url }} &raquo; {{ current_tags.first }}</h4>
{% else %}
<h4>{{ blog.title | split: '|' | first | link_to: blog.url }} &raquo; {{ current_tags.first }}</h4>
{% endif %}
{% else %}
{% if settings.enable_multilang %}
<h4 class="block-title lang1">{{ blog.title | split: '|' | first }}</h4>
<h4 class="block-title lang2">{{ blog.title | split: '|' | last }}</h4>
{%else %}
<h4>{{ blog.title | split: '|' | first }}</h4>
{% endif %}
{% endif %}
{% comment %}
Loop through each article in your blog. This is limited to what you set for pagination above.
For more info on article liquid tags:
- http://docs.shopify.com/themes/liquid-variables/article
{% endcomment %}

{% if settings.display_sidebar_blog_page %}

{% include 'blog_sidebar' %}
{% endif %}

{% if settings.display_sidebar_blog_page %}<div class="col-xs-9 col-main">{% endif %}
<div class="content-blog">
<ul class="list-blog{% if section.settings.layout == "grid" %} blog-grid{% elsif section.settings.layout == "list" %} blog-list{% endif %}">
{% for article in blog.articles %}
<li class="{% if section.settings.layout == "grid" %}col-sm-6{% else %}item{% endif %}">
<h4>
<a href="{{ article.url }}">
{% if settings.enable_multilang %}
<span class="lang1">{{ article.title | split: '|' | first }}</span>
<span class="lang2">{{ article.title | split: '|' | last }}</span>
{% else %}
{{ article.title | split: '|' | first }}
{% endif %}
</a>
</h4>

<p class="blog_author">
{% comment %}
Don't be fooled, the ? in comments_enabled? is part of the liquid tag.
{% endcomment %}
{% if blog.comments_enabled? %}
<a href="{{ article.url }}#comments" {% if settings.enable_multilang %}data-translate="blogs.comments.comments_with_count|count:{{article.comments_count}}"{%endif%}>
{{ 'blogs.comments.comments_with_count' | t: count: article.comments_count }}
</a>
<span class="separator">/</span>
{% endif %}

{% if section.settings.blog_show_date %}
<span class="article__date">Post on
{{ article.published_at | time_tag: format: 'month_day_year' }}
</span>
{% endif %}

{% if section.settings.blog_show_author %}
<span class="article__author">by {{article.author}}</span>
{% endif %}
</p>
{% if article.image %}
{% assign image_alt = article.title | escape %}
<div class="blog_img zi-banner">
<a href="{{ article.url }}" class="overlay">
<div class="zi-banner-image">
{{ article | img_url: 'master' | img_tag: image_alt }}
</div>
</a>
</div>
{% endif %}
{% comment %}
Add a surrounding div with class 'rte' to anything that will come from the rich text editor.
Since this is just a listing page, you can either use the excerpt or truncate the full article.
{% endcomment %}
{% if settings.enable_multilang %}
<div class="des lang1">{{ article.excerpt | split:"[lang2]" | first | split:"|" |first }}</div>
<div class="des lang2">{{ article.excerpt | split:"[lang2]" | last | split:"|" |last }}</div>
{% else %}
<div class="des">{{ article.excerpt | split:"[lang2]" | first | split:"|" |first}}</div>
{% endif %}

{% comment %}
Show off meta information like number of comments and tags.
{% endcomment %}

<p class="button">
<a href="{{ article.url }}" {% if settings.enable_multilang %}data-translate="blogs.article.read_more"{%endif%}>{{ 'blogs.article.read_more' | t }}</a>
</p>
</li>

{% endfor %}
</ul>

{% if paginate.pages > 1 %}
<div class="text-center">
{% include 'pagination' %}
</div>
{% endif %}
</div>
{% if settings.display_sidebar_blog_page %}
</div>
</div>
{% endif %}
{% endpaginate %}

{% schema %}
{
"name": "Blog pages",
"settings": [
{
"type": "select",
"id": "layout",
"label": "Layout",
"default": "list",
"options": [
{
"value": "grid",
"label": "Grid"
},
{
"value": "list",
"label": "List"
}
]
},
{
"type": "checkbox",
"id": "blog_show_author",
"label": "Show author",
"default": true
},
{
"type": "checkbox",
"id": "blog_show_date",
"label": "Show date",
"default": true
}
]
}
{% endschema %}

Liqiud_xPert_SJ
Shopify Partner
730 93 115

2024-03-12 21_19_34-Window.png

- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂
Ljvapes
Explorer
99 2 5

what about the ha end tag also on the same lines , do i change them to h1 also please?

 

and the bits inbetween where it says h4 class-  do i need to change these?