Good afternoon everyone .
Please can anyone help , I noticed that my Blog post titles are not wrapped with the h1 tag .
Wondering if anyone can advise me how to add this to code and where to make the blog titles h1 ?
Thank you and my url is ljvapes.co.uk
To add the <h1> tag to your blog post titles in the Dawn theme, you’ll need to make modifications to the theme’s code. Here’s a step-by-step guide:
-
Locate the blog post template: In your Dawn theme, find the template file responsible for rendering individual blog posts. This file is typically named article.liquid or blog-article.liquid. Locate and open that file in your theme editor.
-
Find the code for the blog post title: Within the blog post template, search for the code that outputs the blog post title. It is usually represented by a Liquid variable such as {{ article.title }} or {{ article.blog_title }}.
-
Wrap the title with <h1> tags: Once you’ve located the code for the blog post title, modify it to wrap the title with <h1> tags. Here’s an example:
# {{ article.title }}
Hi thank you for your quick response . I will have a look in the morning and let you know how I get on 