How can I move the 'view all' button under headers in the Dawn theme?

How do i move my view all button to under the headers for Feature collections. I can not find any directions on how to do so. I have the dawn theme

Hello @michele10 ,

Here is a general guide for you:

Go to Online Store → Themes → Actions → Edit code

Go to Sections → featured-product.liquid or featured-collection.liquid file

Cut the entire code block responsible for generating the “View all” button

Paste the code block above the code for the featured product section. It should look like:

{% if section.settings.show_view_all_button %}
  
    {{ 'collections.general.view_all' | t }}
  
{% endif %}

{% for product in section.products %}
  
{% endfor %}

Save and preview

Hope this can help.

Transcy

When i replaced this code with the code above it just removed the view all button complete