gutslider cyber monday offer
-
DAYS
-
HOURS
-
MINUTES
-
SECONDS

How to Create a Content Slider in Gutenberg

Creating a Content Slider in the Gutenberg block editor is challenging, but the GutSlider block plugin has simplified the progress. As a result, you can easily create a content slider with amazing animations in your favorite Gutenberg block editor.

In this blog post, we will discuss step-by-step guidelines on – How to create a content slider in Gutenberg. So, if you are looking for an instruction to build a content slider, just follow this article.

GutSlider: Best Block Slider

When we are talking about the block slider plugin, it is complicated to find the best plugin for this solution. We have studied multiple block slider plugins and finally found the GutSlider which is powerful, highly customizable, and optimized.

However, here are the key features that allow you to understand why we have chosen the GutSlider for creating a content slider in Gutenberg.

GutSlider

Key features:

  • Drag-and-Drop Interface: Easily add and arrange content within sliders without any coding.
  • Responsive Design: Ensures that sliders adapt smoothly to different screen sizes and devices.
  • Powered by Swiper JS: Provides reliable, lightweight slider functionality without jQuery dependencies.
  • Highly Customizable: Includes various settings for slide transitions, timing, animations, and styles.
  • CSS Animations: Supports smooth animations and custom delays for a polished visual experience.
  • Optimized Performance: Scripts only load on pages where the block is used, enhancing site speed.
  • Supports Multimedia: Add images, text, videos, or any type of content into the slider.
  • Intuitive Settings Panel: Easily control the number of slides, slide navigation, pagination, and more.
  • Seamless Gutenberg Integration: Built natively for the Gutenberg editor for a smooth user experience.
  • Lightweight and Fast: Minimal resource usage ensures fast load times and performance.

Installation and Activation

The gutSlider block plugin’s installation process is straightforward. It is similar to other WordPress plugins’ installation and activation processes. To install and activate the GutSlider plugin, follow these steps as shown in the image:

  • Access Plugins Menu: Go to the WordPress dashboard. Click on Plugins in the left-hand menu.
  • Add New Plugin: Select Add New from the Plugins sub-menu. Search for GutSlider: In the Search Plugins box, type GutSlider.
  • Install Gut Slider: Find the plugin named GutSlider in the search results. Click the Install Now button next to it.
  • Activate the Plugin: Once installed, click Activate to enable the plugin on your site.

Insert Static Block in Gutenberg Editor

GutSlider comes with several custom blocks for the complete solution for different types of carousels and sliders. Since our target is to create a content slider, we can pick the Static block from the list.

To add the Static block, follow the following steps:-

  1. In the block menu on the left, navigate to the GUTSLIDER BLOCKS block category.
  2. Click on the Static block from the list to add it to the Gutenberg editor.

If you complete these steps, you will see the default sliding interface of

Add or Remove Slide Item

By default, the Static block includes 3 slider items. But no worries, you can either add or remove any item as per your wish. Let’s explore how we can add and remove slider items from the list.

Add New Slide Item

Here is a list of descriptions about the “Add Slide Item +” button:

  • Adds a new slide to the slider: When you click on this button, a new slide will be added to the slider.
  • Opens the slide editor: When you click on this button, the slide editor will open, allowing you to edit the content of the new slide.
  • Is located in the slide editor toolbar: The “Add Slide Item +” button is located in the slide editor toolbar, which is located at the top of the slide editor.

Delete Slide Item

Here is a list of descriptions about the “Delete Slide Item“: To delete a slide, click on the “Delete Slide Item” button in the slide editor toolbar.

Change Slide Content

The Static block provides different content elements, for example, subtitles, titles, descriptions, buttons, and images. To add slide content, you have to open each slide item and expand the popover to add the contents and background image including overlay.

  • Subtitle: A smaller heading to provide additional context.
  • Title: The main heading to grab attention.
  • Description: A brief explanation or highlight of the slide content (e.g., “Gutslider is a Gutenberg Slider Block that is easy to use and has many features…”).
  • Button Label: The text on the call-to-action button (e.g., “Get Gutslider”).
  • Button Link: The URL where the user will be directed when clicking the button (e.g., “https://gutenbergkits.com”)

Change Content Background

Static block has support to add content background and overlay. You can either have a solid color background or an image, even if you want, you can also add a gradient color background for your content slider.

So, to add the content background, you have to expand the popover to see the all background settings. It looks like the following screenshot:-

  • Background Type: Classic: Choose a solid color for the background.
  • Gradient: Select a gradient background, configuring the start and end colors as well as the direction of the gradient.
  • Enable Overlay: Toggle this switch to add an overlay to the background. When enabled, you can choose between Classic and Gradient overlays.
  • Overlay Color: Select the color for the overlay from the color palette or enter a custom color code.
  • Overlay Opacity: Adjust the opacity of the overlay using the slider, allowing you to control how much of the background shows through.

Slide Layout Options

Gutslider Static Block comes with two types of slider layouts. You can either create the slider or carousel layout. Since we want to create a content slider, so make sure you have selected the Slider type

Slider Options

GutSlider provides all essential slider options so that you can customize the settings and create a perfect slider for you. Here are the slider options:-

  • Infinite Loop: Allows the slider to continuously cycle through slides without stopping.
  • Autoplay: Automatically plays the slides without needing user interaction.
  • Keyboard Control: This lets users navigate the slider using keyboard keys that improve accessibility.
  • Mouse Wheel Control: Users can scroll through slides using their mouse wheel.
  • Navigation: You can either show or hide the navigation for the slider.
  • Pagination: You can either show or hide pagination and control different pagination types.

Slider Effect

In Gutenberg, the slider effects enhance visual storytelling with dynamic transitions:

  • Flip: Gives a 3D flip transition between slides.
  • Fade: Smoothly transitions the opacity of the slides for a subtle effect.
  • Slide: Moves the slides horizontally or vertically for a classic sliding effect.
  • Cube: Creates a 3D cube effect, rotating slides like sides of a cube.
  • Coverflow: Overlaps the slides slightly and shifts them, mimicking a cover flow animation.

Slider Navigation

  • Position Type (Inside/Outside): This option defines where the navigation arrows (the left and right arrows for sliding) will appear about the slider content.
  • Inside: This places the arrows within the main slider area, giving a more integrated look.
  • Outside: The arrows appear just outside the slider’s border, allowing more focus on the content without overlapping the arrows.
  • Position (Center Center): This dropdown option allows you to set the exact positioning of the navigation arrows within or around the slider. For example, “Center Center” means the arrows are centered vertically and horizontally relative to the slider.
  • Icon ON: When turned ON, the navigation icons (like arrows) will be replaced with your uploaded custom icons, allowing for a personalized look.
  • Icon OFF: When turned OFF, the navigation icons will remain as the default icons, without any customization.

Slider Pagination

Pagination Type and Dynamic Bullets, here’s a short explanation for each:

  • Bullets: Small dots representing each slide.
  • Numbers: A numeric representation of the slides.
  • Progress Bar: A visual bar that fills as you progress through the slides.
  • Dynamic Bullets ON: Bullets adjust to show the current slide.
  • Dynamic Bullets OFF: Bullets remain static.

Customization

Gutslider is highly customizable, it allows you to customize everything you need. You can add custom style, and animation for any type of content element like Title, Subtitle, Description, Button. It offers the following customization options:-

  • Animation: Choose from eight different animations to add some dynamic flair to your content.
  • Color: Adjust the color of your text to make it pop or match your theme.
  • Background: Customize the background color of your button for the desired look and feel.
  • Typography: Customize every aspect of your text’s appearance, including:
  • Font Size: Set the size of your text.
  • Font Family: Choose the typeface.
  • Font Weight: Adjust the boldness.
  • Font Style: Italicize, oblique, or keep it normal.
  • Text Decoration: Add underlines, overlines, or strikethroughs.
  • Text Transform: Control the capitalization of your text.
  • Spacing: Adjust the padding and margins on all sides for perfect placement.
  • Width: Adjust the overall width of the slider block.
  • Height: Set the height of the slider block.
  • Icon Size: Control the size of the icons within the slider.
  • Border Style: Choose from different border designs like solid, dotted, or dashed.
  • Border Radius: Adjust the roundness of the button corners to create either sharp or smooth edges.
  • Padding: Control the space inside the button, between its border and the text.
  • Margin: Adjust the space around the button to position it perfectly within your layout.

Conclusion

Static Gutenberg block sliders are a powerful tool for creating visually appealing and highly customizable content displays. With options to adjust animation, color, typography, spacing, borders, and more, you can tailor every aspect to match your design and branding needs. Whether for showcasing images, headlines, or other content, these sliders provide a dynamic and engaging way to enhance your website’s user experience.

Leave a Reply