The Slider Block lets you display multiple images in an interactive slider. You can manage slides, configure autoplay and looping, control the number of visible slides, adjust image dimensions and spacing, and customize navigation arrows, pagination dots, and image overlays.
How to Add a Slider Block
Follow these steps to add the Slider Block to your page or post.
Step 1: Add the Slider Block
- Open the page or post where you want to add the Slider Block.
- Click the + (Add Block) button.
- Search for Slider in the block search field.
- Select the Slider block from the ShapeBlock category.
- The block will be added to your editor.
- Select the block to access its customization options in the sidebar.

Step 2: Configure the Slider Block
The Slider Block includes four tabs for customization:
- Settings: Add and manage images, configure playback behavior, and enable navigation arrows or dots.
- Layout: Adjust the number of visible slides, spacing, slide height, and image fit.
- Style: Customize slide corners, image overlays, navigation arrows, and pagination dots.
- Advanced: Adjust spacing and background settings for the entire block.
Settings Tab
The Settings tab contains the following panels.
1. Images
- Image Items: Manage the images displayed in the slider. Each item includes the following options:
- Select Image: Choose an image from the WordPress Media Library.
- Replace Image: Replace the selected image with another image.
- Move Up: Move the image one position earlier in the slider.
- Move Down: Move the image one position later in the slider.
- Duplicate: Create a copy of the image item.
- Remove: Remove the image item from the slider.
- Add Images: Select multiple images from the Media Library and add them to the slider.
- Add Empty Slide: Add an empty slide that you can fill with an image later.
2. Playback
- Loop: Enable or disable continuous looping when the slider reaches the end.
- Autoplay: Automatically advance the slides.
- Autoplay Delay (ms): Set the delay between automatic slide changes. This option appears when Autoplay is enabled.
- Pause on hover: Pause autoplay while visitors hover over the slider. This option appears when Autoplay is enabled.
- Transition Speed (ms): Set the duration of the slide transition in milliseconds.
3. Navigation
- Show Arrows: Display previous and next arrows to let visitors navigate between slides.
- Show Dots: Display pagination dots to indicate the slides and allow visitors to navigate between them.

Layout Tab
The Layout tab contains the following panel.
1. Layout
- Slides Per View: Set how many slides are visible at the same time. Responsive settings are available for desktop, tablet, and mobile devices.
- Space Between (px): Set the gap between slides. Responsive settings are available for desktop, tablet, and mobile devices.
- Slide Height (px): Set the height of the slides. Responsive settings are available for desktop, tablet, and mobile devices.
- Image Fit: Choose how images fit inside the slide area.
- Cover: Fill the slide area while cropping the image when necessary.
- Contain: Display the entire image within the slide area.
- Fill: Stretch the image to fill the slide area.

Style Tab
The Style tab contains panels for customizing the slides and navigation elements. The Arrows and Dots panels appear only when their corresponding options are enabled in the Settings tab.
1. Slide
- Border Radius: Adjust the corner radius of the slides.
- Image Overlay: Set an overlay color or gradient over the slide images.
2. Arrows
This panel appears when Show Arrows is enabled in the Settings tab.
- Icon Color: Customize the color of the navigation arrow icons.
- Background: Set a background color or gradient for the arrows.
- Size (px): Set the size of the navigation arrows. Responsive settings are available for desktop, tablet, and mobile devices.
- Border Radius: Adjust the corner radius of the arrow backgrounds.
3. Dots
This panel appears when Show Dots is enabled in the Settings tab.
- Color: Set the color of the pagination dots. A color or gradient can be selected.
- Active Color: Set the color or gradient for the active pagination dot.
- Size (px): Set the size of the pagination dots.

Advanced Tab
The Advanced tab contains settings that apply to the entire Slider Block, not to individual slides.
1. Spacing
- Padding: Adjust the inner spacing around the entire block. Responsive settings are available for desktop, tablet, and mobile devices.
- Margin: Adjust the outer spacing around the entire block. Responsive settings are available for desktop, tablet, and mobile devices.
2. Background
- Background: Set a background color or gradient for the entire block.