Dawn Theme: Change "Filter" and "Sort By" text at Collection page from H2 to H3

Hi,

we have a short question: How can we change the “Filter” and “Sort By” text on the collection page from H2 to H3? Example: industrialkonzept – Curated furniture, home goods & design

I tried a lot of things already but nothing seems working. I am sure there is a very easy solution for this but my technical knowledge is really restricted. :sweat_smile:

We are using the Dawn Theme.

Thank you very much!

Best regards

Johannes

@stumpfmarketing dazu musst du in den Code und in die Datei main-collection-product-grid.liquid gehen. Dort findest du den entsprechenden Code um die h2-Tags in h3-Tag umzuschreiben.

Hi, vielen Dank für die Antwort. Das habe ich bereits versucht. Aktuell sieht der Codeabschnitt so aus:

{% comment %} Sort is the first tabbable element when filter type is vertical {% endcomment %} {%- if section.settings.enable_sorting and section.settings.filter_type == 'vertical' -%}

{{ 'products.facets.sort_by_label' | t }}

{%- assign sort_by = collection.sort_by | default: collection.default_sort_by -%} {% render 'icon-caret' %}
{{ 'products.facets.sort_button' | t }}

{%- if collection.results_count -%} {{ 'templates.search.results_with_count' | t: terms: collection.terms, count: collection.results_count }} {%- elsif collection.products_count == collection.all_products_count -%} {{ 'products.facets.product_count_simple' | t: count: collection.products_count }} {%- else -%} {{ 'products.facets.product_count' | t: product_count: collection.products_count, count: collection.all_products_count }} {%- endif -%}

{%- endif -%}

Trotzdem wird im Quellcode noch H2 angezeigt. Was mache ich falsch?