FROM CACHE - en_header

Scroll To Section button.

Solved
Kennyd1
Excursionist
30 2 6

I'm looking for a solution for a Scroll To Section button.

As this is a scroll for a product's session on the same page, I can't name the session with id="_"

Is it possible to do in the new dawn theme?

My page https://hman.com.br/products/carteira-inteligente

This is the section

this is the sectionthis is the section

Accepted Solution (1)

Accepted Solutions
Kennyd1
Excursionist
30 2 6

This is an accepted solution.

Consegui encontrar uma solução. Criei um botão normal para o tema do amanhecer, e colei o link de referência div>

<a class="button --primary" href="#shopify-section-template --15279986737390__main">
Garantir >
</a>

I hope I can help you too

 

View solution in original post

Replies 3 (3)
Kennyd1
Excursionist
30 2 6

This is an accepted solution.

Consegui encontrar uma solução. Criei um botão normal para o tema do amanhecer, e colei o link de referência div>

<a class="button --primary" href="#shopify-section-template --15279986737390__main">
Garantir >
</a>

I hope I can help you too

 

Joseias
New Member
1 0 0

Hi man, can you explain me more about how I set this feature on my theme? I have some sections that have a CTA which I want to go to the product section. 

Kennyd1
Excursionist
30 2 6

Of course, activate the inspect mode on your product page and find this reference from the product section:

Kennyd1_0-1657902562721.png

 

Paste the reference in the example button link: #shopify-section-template--16194707095790__main

Kennyd1_1-1657902956755.png

 

When the customer clicks it will go down the session.