Icon "td-icon-menu-up"

Posted in: Newspaper
Post count: 22

My question is if there is the possibility of including a “td-icon-menu-up” in mobile version, just as it exists in desktop version. I mean an arrow that allows you to return to the beginning of the post.

Tanks in advanced 🙂

Post count: 20688

Hi,

Please enter this code in Theme panel->Custom CSS section, and the scroll icon will be displayed

@media (max-width: 767px) {
.td-scroll-up {
display: block;
}}

Thanks

Post count: 22

Hi Simion C.

Great!!! it’s Works!!
One question more… is the same css code form AMP?
Tanks in advanced!!

Post count: 20688

Hi,

The scroll to top is hidden by default in that situation, there is a condition in the theme code. This code I provided will simply override that condition and display the scroll icon. There is no relation to AMP, if that is what you mean.

Thanks

Post count: 22

Hi Simion!!!
The css code that you gave me works perfectly in mobile version, but not in AMP pages.
My question is what css code should be applied so that it also appears in AMP?
Thank you very much!!!

Post count: 20688

Hi,

The scroll icon is added by the theme, it cannot be used on AMP pages and it will probably not be displayed. If you use AMP the page structure will be different, it cannot be controlled from the theme. You would have to search for a similar implementation for AMP pages, and create a scroll function feature.

Thanks

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