Expand my Community achievements bar.

SOLVED

Back to top functionality in aem sites pages

Avatar

Level 2

Hello Everyone,

I just want to know that from where we get this "back to top" functionality in aem sites pages. Also want to know where do we put the "back to top" text?

 

prachimathur_0-1699596258124.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @prachimathur 
If you are using dynamic templates, you can author and add go-top-button on all the pages directly from dynamic template.

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/page-authoring/template-edito... 



Arun Patidar

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @prachimathur 
If you are using dynamic templates, you can author and add go-top-button on all the pages directly from dynamic template.

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/page-authoring/template-edito... 



Arun Patidar

Avatar

Community Advisor

That seems to be a custom component that is part of your codebase. I would recommend inspecting the page in the Author to identify which component it is and understand its configuration.

If you need this functionality on another site, you can create a similar component and add it at the template level, as suggested by @arunpatidar.

 

Hope this helps



Esteban Bustamante