In short. LumaTop adds a back to top button to PrestaShop that shows up as soon as the visitor has scrolled far enough. You pick its icon, shape, colors, animation and the screens it appears on, with a live preview before you save. The module weighs 3.6 KB once compressed, sets no cookies and touches neither your theme nor your database.
On a busy category page or a detailed product page, a visitor who wants to get back to the menu, the cart or the search bar has to swipe all the way up. On mobile, that repeated gesture quickly becomes tiring. LumaTop fixes this with a discreet button in a corner of the screen that brings the visitor back to the top in a single tap. This article walks through every setting so you can decide whether the module fits your store.
Contents
Ready the moment it is installed
There is nothing to configure to get started. The button is active as soon as installation finishes, with restrained settings that suit most themes.
| Setting | Default value |
|---|---|
| Icon and shape | Chevron, circle |
| Size | 44 px on mobile and tablet, 48 px on desktop |
| Colors | Charcoal background, white icon, indigo background on hover |
| Opacity and shadow | 90 %, soft shadow |
| Animation and hover | Fade, lift |
| Position | Automatic, bottom right corner |
| Margins | 16 px on mobile and tablet, 32 px on desktop |
| Display threshold | 400 px scrolled |
| Checkout | Button hidden |
| Tooltip and ring | Off |
Quick start tip. To match the button to your theme, start with the background color and the hover color. Use your store's main color for one of them, the rest is usually already right.
A look that matches your store
The button should be noticed without getting in the way of reading. Every visual element is set in the Appearance section of the configuration page.
Icons, shapes, animations and progress ring offered by LumaTop
Icon, shape and size
Colors, border and shadow
- Background and icon colors, at rest and on hover
- Border from 0 to 4 px, with its own color
- Opacity from 30 to 100 %, the button becomes fully opaque on hover and focus
- Shadow of your choice, none, soft or strong
Contrast check. The preview calculates the contrast ratio between the icon and the background in real time, at rest and on hover. Below 3 to 1, it flags the button as hard to read. This is advice only, your colors are saved even when contrast is low.
Animations and effects
| Setting | Available options |
|---|---|
| Entrance animation | None, fade, slide up, zoom, bounce |
| Hover effect | None, lift, grow, glow |
The hover effect only runs on devices with a mouse or a trackpad. Hover colors also apply when the button receives keyboard focus.
Tooltip and label
- Optional tooltip, shown on hover and focus, up to 100 characters per language
- Screen reader label that you can customize in each language
- Empty field, the module falls back to its own translated text, for example "Back to top" for the tooltip
No HTML in texts. ⚠️ Any text containing
<or>is rejected with a clear message. This rule protects your store against code injection.
The progress ring
Once enabled, a thin ring surrounds the button and fills up as the visitor moves down the page. It shows at a glance how much has already been read, which is handy on long product pages and blog posts.
Good to know. When the ring is on, the button becomes round whatever shape you selected.
Position and display threshold
The screen corner
- Automatic, bottom right corner, or left when the visitor's language is written right to left, such as Arabic, Hebrew or Persian
- Right or left, the same corner for every language
- Margins from 0 to 200 px from the bottom and side of the screen, set separately for mobile and tablet and for desktop
On phones with a notch, the screen safe area is added to the margins when the theme declares it. The button therefore never slides under the home bar.
When it appears
| Mode | How it works | When to choose it |
|---|---|---|
| Pixels scrolled, from 0 to 10,000 | The button appears after a fixed distance | 400 px is roughly half a desktop screen |
| Page percentage, from 0 to 100 | The button appears after a share of the page | 20 % suits stores whose pages vary a lot in length |
On a page too short to scroll, the button never shows. It also stays hidden at the very top of the page, even with a threshold set to 0.
Precise display rules
The module does not try to guess the visitor's device. It relies on screen width, exactly like your theme.
Button size and margins by screen width
| Device | Default screen width | Size and margins used |
|---|---|---|
| Mobile | Under 768 px | Mobile settings |
| Tablet | 768 to 1023 px | Mobile settings |
| Desktop | 1024 px and up | Desktop settings |
Both breakpoints can be changed, from 360 to 1,600 px for tablet and from 480 to 2,560 px for desktop. You then tick the devices the button should appear on, with at least one ticked.
Checkout left undisturbed
The Hide in checkout option, on by default, removes the button from the address, shipping and payment steps. Customers stay focused on their order and the button cannot cover a payment button. The cart and the order confirmation page are not affected, you can exclude them separately.
Excluded pages
Live preview in the back office
Everything is set on a single page, opened with the Configure button in the module manager. No extra menu clutters your back office. The Live preview panel, placed to the right of the form or above it on a narrow screen, shows the screen corner at actual size and follows every change.
Key point. Nothing reaches the store until you click Save. The preview is computed in your browser, so you can experiment freely.
Values checked on the server
- Colors accepted only in strict hexadecimal format
- Numbers kept within their allowed range
- Choices limited to a closed list
- Excluded pages checked against the list of existing pages
- Security token and employee permissions checked on every submission
An invalid value is rejected with a clear message and is never saved.
Multistore
With several stores, the context selector at the top of the back office shows which settings you are editing, and a banner repeats it at the top of the configuration page.
| Context | What you do |
|---|---|
| All stores | You define the shared settings. It is the only context that offers Restore default values |
| A group or a store | Your settings apply to that context only. Restore inheritance clears them and picks up the parent level settings |
Accessibility
The button is designed for all your visitors, with no special setting on your side.
Lightweight and private
A back to top button should never slow a store down. LumaTop was built with that in mind.
GDPR side. The module collects nothing. You have nothing to add to your privacy policy or your cookie banner.
Installation and first steps
Installation in 4 steps
- Open Modules → Module Manager → Upload a module.
- Select the
lumatop-v1.0.0.ziparchive, then click Upload the module. - Open a long page of your store and scroll down, the button is already there.
- Click Configure to match it to your theme, then Save.
No particular PHP extension, no writable folder and no database table are required. The module saves its default settings and attaches to two standard PrestaShop hooks.
Upload not working? Unzip the archive, send the
lumatop/folder to themodules/directory over FTP, then search for "LumaTop" in the module manager and click Install.
Mind the cache. ⚠️ If the button does not show right away, clear the cache in Advanced Parameters → Performance. If your store combines and compresses CSS and JavaScript files, the same action regenerates them with the module files.
Update, pause and uninstall
- Update, upload the new zip, click Upgrade if the button appears, then clear the cache. Your settings are kept
- Pause, turn off the Show the button on the store switch or disable the module, your settings stay in place
- Uninstall, all settings are removed for every store and the module leaves no trace
When the button does not show
| Check | What to look at |
|---|---|
| Is the button enabled? | The Show the button on the store switch is set to Yes and the module is enabled |
| Have you scrolled far enough? | The threshold must be reached and the page long enough, try a long category page |
| Is the device ticked? | On desktop, a narrowed window counts as a tablet or a mobile |
| Is the page excluded? | Check the excluded pages list and the checkout option |
| Is it hidden under another element? | Raise the stacking level, 1000 by default, or switch corners |
| Is the cache up to date? | Advanced Parameters → Performance → Clear cache, then reload the page |
| Does the theme call the end of page hook? | The button is inserted through displayBeforeBodyClosingTag, present in Classic, Hummingbird and the vast majority of themes |
Cookie banner or chat bubble? These floating elements often sit in the same corner. Raise the stacking level, choose the other corner or increase the margin.
Technical sheet
| Version | 1.0.0 |
| PrestaShop and PHP compatibility | See the product page |
| Compatible themes | Classic, Hummingbird 2.0 and 2.1, any theme that calls displayBeforeBodyClosingTag |
| Back office languages | French, English |
| Store languages | FR, EN, DE, ES, IT |
| Multistore | Yes, with settings inheritance |
| Weight on the store | 3.6 KB compressed |
| SQL tables and overrides | None |
| Cookies and personal data | None |
| Publisher | PrestaLuma |
| License | Commercial, one store per license |
Ready to give your visitors a polished way back to the top?
LumaTop installs in minutes, is set up on a single page and barely touches your performance. Your customers scroll back up in one tap, your theme stays untouched.

Comments
Be the first to comment on this article.