The Magento 2 Scroll To Top extension adds a customizable button that allows users to scroll back to the top of the page easily. This enhances the user experience, especially on long pages.
- Extension can be easily disabled or enabled.
- Customize the color of the scroll-to-top icon and button background using a color picker provided by https://github.com/mrgrain/colpick.
- Can be configured for different scopes (Global, Website, Store View).
- Position: Set the position of the button (Right Bottom or Left Bottom).
- Button Type: Choose the button shape (Round, Square).
- Breakpoint: Define the scroll distance for the button to appear.
- Side Margin: Adjust the side margin for the button.
- Bottom Margin: Adjust the bottom margin for the button.
Follow these steps to install the extension:
-
Require the extension via Composer
composer require mage-condition/scroll-to-top
-
Run Magento setup upgrade
php bin/magento setup:upgrade
-
Deploy static content (if in production mode)
php bin/magento setup:static-content:deploy
-
Clear the cache
php bin/magento cache:clean
- Navigate to the Stores section in the Magento admin panel.
- Go to Configuration > MageCondition > Scroll To Top.
- Configure the settings as per your requirements.
- Save the changes.
- Refresh the cache.
- PHP 8.0 or higher
- Magento Open Source (CE) 2.4.x
- Adobe Commerce (EE) 2.4.x
If you encounter any issues or have questions regarding the extension, please open an issue on the GitHub repository.
You can also reach us via email at wincondition2911@gmail.com.
This module is licensed under the Open Software License (OSL). See the LICENSE file for more details.