The Slideshow Design Element has a built-in functionality that stops the looping feature whenever a user hovers over it.
This article will demonstrate how to deactivate this feature using Custom CSS. Through this, the Slideshow will continue to loop even when the mouse hovers over it.
TABLE OF CONTENTS
Prerequisites
- You must have the latest version of ShortPoint SPFx installed on your SharePoint environment.
- You must be a ShortPoint Designer with an active license.
- You must already have the Slideshow Design Element on your page.
Interactive Tutorial
Before starting the tutorial, copy the Custom CSS below:
.slick-list {
pointer-events: none;
}
Step-by-step Tutorial
Follow along to learn how to apply continuous loop for Slideshows:
Step 1: Edit the ShortPoint web part
- Go to the SharePoint page you want to use and click Edit.
- Click the ShortPoint tag.
- Select the pencil icon.
Step 2. Copy the custom CSS code
Copy the Custom CSS below:
.slick-list {
pointer-events: none;
}
Step 3: Paste the Custom CSS
NOTEBefore proceeding, ensure a Slideshow Design Element is on your page.
- Click the Slideshow tag.
- Select the cogwheel icon.
- Navigate to the Custom CSS tab.
- Paste the copied code in the field provided.
- Click the green checkmark.
Step 4: Save
- Click the eye icon to see your page in real-time.
- Click Save to apply your changes.
Congratulations! Your Slideshow now loops continuously even when a mouse hovers over it.
Related articles: