FROM CACHE - de_header

How to: Set H1, H2, H3 ... tags in Basement theme

adddress_berlin
Neues Mitglied
4 0 0

Hello

 

My online store needs to be SEO-optimized, and I'd like each page to have H1, H2, and H3 tags (main page, contact, stores, women all, dresses, etc., etc...) I guess it will be in the code, under themes → code → assets → XXX.page.liquid. Still, I haven't figured out how to change/set the headlines. Could anyone help me out? 

 

Thank you!

3 ANTWORTEN 3

Finer
Shopify Expert
2067 437 740

@adddress_berlin it depends on where you want to make those modifications. Usually, you can look within the code editor in Sections or Snippets. Most themes include the use of headings. In this case, you can look for h1-h6-Tags and change them.

- Did my answer help? Mark my post with a like
- Did I solve your problem? Mark my post as an accepted solution.
- You need professional help? Contact our Shopify Partner Agency
adddress_berlin
Neues Mitglied
4 0 0

Thank you so much for your quick response! I checked again Sections and Snippets but still couldn't figure out how to change meta-tags and H's to SEO optimize the page.

Is there any possibility to access HTML and Js files somewhere in the directories provided by shopify. For instance if we want to change something directly in the master files or to add a meta tag manually in the master files.

 

Thank you!

Finer
Shopify Expert
2067 437 740

@adddress_berlin the liquid files which are accessible via the Code-Editor contain HTML. Therefore, you can change the Headings in each Snippet or Section file.  The Meta data can be modified in the Theme.liquid file within the Layout folder. 

 

Here is an example of the code meta description:

    {% if page_description != blank %}
      <meta name="description" content="{{ page_description | escape }}">
    {% endif %}

But at the end, it depends on the Theme you are using and how the theme developers set up the SEO-relevant sections.

 

 

To modify the product page, you can look for a section called "main-product.liquid" which might also contain a snipped called "product-template.liquid". But this, again, depends on the Theme you are using.

- Did my answer help? Mark my post with a like
- Did I solve your problem? Mark my post as an accepted solution.
- You need professional help? Contact our Shopify Partner Agency