Back to Top of page icon

5 replies·opened Jan 9, 2020
R
rfollettJan 9, 2020

is it easy to add a 'back to top of the page' icon when scrolling on mobile?

S
SemiColonWebSTAFFJan 10, 2020

Hello,

Simply add the data-mobile="true" Attribute to the #gotoTop Element.

This will enable the Go To Top trigger on Mobile Devices. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

R
rfollettJan 11, 2020

sorry to ask, do I add this in the html or change the #gotoTop element in the style.css?

S
SemiColonWebSTAFFJan 11, 2020

Hello,

Consider using the following code in the HTML:

<div id="gotoTop" data-mobile="true" class="icon-angle-up"></div>

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

R
rfollettJan 14, 2020

thank you for all your support, works perfect. Please close this ticket

S
SemiColonWebSTAFFJan 14, 2020

Hello,

Very Happy to Help! :)

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard