- This topic has 6 replies, 2 voices, and was last updated 5 months, 2 weeks ago by Aizaz Awan.
-
AuthorPosts
-
May 20, 2024 at 1:42 pm #8475
Hello,
Is there an option to enable the ”scroll to top” button on mobile devices? We can see it on desktop devices, but it’s missing on mobile devices.
Thanks!
This field is Private Content.
Attachments:
You must be logged in to view attached files.May 20, 2024 at 2:32 pm #8479Hello, @zeljko-kovac97,
Go to the Dashboard and navigate to Alpus > Theme Options > Custom CSS & JS. Paste the following code at the bottom of the CSS box:
#scroll-top { display: block !important; }
Save the settings, clear your browser cache, and then check your site.
Best Regards,
May 20, 2024 at 3:00 pm #8481Hello,
Thank you for your reply. I did that, but it’s not showing the button while you scroll, but now there is a huge black circle at the bottom of the website on mobile devices.. I’m sending a screenshot.
Could you please take a look?
Attachments:
You must be logged in to view attached files.May 20, 2024 at 10:06 pm #8485Hello,
I just wanted to let you know that we have migrated the website to the official domain. I’m sending the new login details in the private area.
Because the Maintenance mode is active, you can see the website only after you log in.Thanks!
This field is Private Content.
May 21, 2024 at 8:01 am #8487Hello, @zeljko-kovac97,
Yes you are right, I have checked it on your site and found the same behaviour, it seems that back to top is not designed for the mobile version but specifically for the desktop version only and that is the reason intentionally hide it on mobile version of the site.
But I tried hard and made the Custom CSS for your issue as fix listed below:
@media (max-width: 767px) { #scroll-top { display: inline-block !important; width: 3.2857em; height: 3.2857em; font-size: 1.4rem; bottom: 1em !important; right: 1.0714em; position: fixed; } #scroll-top i.a-icon-angle-up { display: flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; color: var(--alpha-white-color); background-color: var(--alpha-dark-color); border: 2px solid var(--alpha-dark-color); border-radius: 50%; z-index: 1; } #scroll-top svg { position: absolute; width: 3.1429em; height: 3.1429em; border-radius: 50%; top: 1px; left: 1px; z-index: -1; } }
Now please check back to your site after clearing the browser cache: https://ibb.co/93cjPqw
Best Regards.
May 21, 2024 at 9:43 am #8489Hello,
Thank you!
There is only a minor issue left. The progress line that goes around the button is not making the correct circle around the icon. I’m sending the screenshot.
Is it possible to fix it or just to disable it?
Attachments:
You must be logged in to view attached files.May 22, 2024 at 4:39 am #8492Hello, @zeljko-kovac97,
Please update the top and left values in the SVG code to -4px as shown in my previous instructions. After making these changes, review the result. For reference, see this screenshot: https://pasteboard.co/3fDy4IwyYJ5r.png
This should resolve the issue.
Best Regards.
-
AuthorPosts
- You must be logged in to reply to this topic.