Moving scroll-to-top button higher makes it appear above the fold

Posted in: Newspaper
Post count: 37

Hi, I want to keep the scroll-to-top button clear of the footer on mobile only (where I have a menu and social share icons).

I use the mobile plugin. I have changed the css for the mobile section to read:

.td-scroll-up{
bottom: 122px !important;
}

It needs the word ‘important’ to make it have any effect. However this makes it show in view even at the top of the page.

Is there a way to hide the icon above the fold? It’s a long time since I set up the theme so I can’t recall if I did anything apart from the css:)

Post count: 21065

Hello!

If you want to hide that button on the mobile version, then try to add this code:

.td-scroll-up{
display: none !important;
}

If you use Mobile Theme plugin, then you need to add this code in Newspaper -> Theme panel -> Mobile Theme -> Custom code.

Thank you!

Post count: 37

Hi, thanks for getting back to me. I don’t want to hide it completely, I just don’t want it to show until the user scrolls down. Is there a way to do that?

Donald

Post count: 21065

Hello!

Unfortunately, this will require custom work which is not covered by the support team.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.