The "Articles Slider" or Posts Slider module on the WordPress theme Divi allows you to display in a distinguished way, articles of your choice on the home page. On many blogs, this type of module is generally used to display featured articles. But you can make a different use of it and display article suggestions for example.

How to add the article slider module on Divi Builder

Before you can add an article slider module to your page, you must first jump to Divi Builder. Once the Divi theme installed on your website, you will notice a button Use Divi Builder above the publisher each time you create a new page. Click on this button to activate Divi Builder and access all the Divi Builder modules. Then click on the button Use Visual Builder to start the generator in visual mode. You can also click the button Use Visual Builder when you browse your website in the foreground if you are connected to your WordPress dashboard.

Divi builder

Once you have entered Visual Builder, you can click the gray plus button to add a new module to your page. New modules can only be added inside rows. If you are starting a new page, remember to add a row to your page first.

articles.png cursor

Locate the "Post Sliders" module in the list of modules and click on it to add it to your page. The list of modules is searchable, which means you can also type the word "Post Cursors" and then click "Enter" to automatically find and add the Post Cusors module! Once the module is added, you will be greeted by the module options list. These options are separated into three main groups: Contents , Design et Advanced .

Example use case: Post sliders (articles) to display recent ones

For this example, I'll add an posts slider to showcase the three most recent posts at the top of a blog page. Each slide displays the selected post image as a background image, post title and post meta, and a Read More button.

example of blog divi.jpg

Using Visual Builder, add a new standard section at the top of the blog page with a fullwidth (1 column) row. Then insert the Post Slider module in your new line.

creating a new divi.png column

Under Cursor Settings, update the following options:

Content options

Messages Number: 3

Design options

Header Font: Roboto (Capitals) header Font Size: 50px Header Text Color: # edef5d Header Letter Spacing: 1px Body Font Size: 16 Body Letter-Space: 1px Body Line Height: 1.4em Meta Font: Open Sans, Italic, Upper Case Meta Font Size: 18px Meta Text Color: #cccccc Meta Line Height: 2em Use custom styles for the button: YES Text size: 26px Button Text color: # edef5d Button width: 0px Button icon:> Show only icon

example of divi.jpg button

Save settings

That's all !

example of a blog in action divi.gif

Content options article slider module

In the content tab, you will find all the content elements of the module, such as text, images and icons. All that controls what appears in your module will always be found in this tab.

option content curser divi module slider of articles.png

Number of items (number of posts)

Choose the number of items you want to display in the slider.

Include Categories

Choose the categories you want to include in the slider.

Order by

Here you can adjust the order in which the articles are displayed.

Button text

Define the text that will be displayed on the "Read more" button. leave blank for default (Read more)

Content Display

Showing full content will not truncate your posts in the slider. The snippet view displays only the snippet text.

Use excerpt from article if defined

Disable this option if you want to skip the manually defined snippets and still automatically generate it.

Auto extract length

Define the length of the automatically generated extracts. Leave blank for default (270)

Show arrows

This setting will activate and deactivate the navigation arrows.

Show controls

This setting will enable and disable the circle buttons at the bottom of the cursor.

Show the Read more button

This setting will enable and disable the Read more button.

Show the message Meta

This setting will enable and disable the meta section.

Show featured image

This setting turns the image selected in the slider on and off.

Placement Image

Select how you want to display the selected image in the slides

Background color

Use the color picker to choose a background color for this module.

Background picture

Upload your desired image or type in the URL of the image you want to use as the background for the slider.

Position of the background image

Choose the CSS positioning of the background image for each slide.

Background image size

Choose the CSS background image size used for each slide.

Administrator Label

This will change the module label in the constructor for easy identification. When you use the WireFrame view in Visual Builder, these labels appear in the module block of the Divi Builder interface.

Slider module design options

In the Design tab, you will find all the module styling options, such as fonts, colors, sizing and spacing. This is the tab you will use to change the appearance of your module. Each Divi module has a long list of design settings that you can use to change anything.

design option divi articles.png

Remove inner shadow

This will remove the CSS inner shadow applied to all slides by default.

Use background overlay

When enabled, a custom overlay color will be added above your background image and behind your slider content.

Background overlay color

Use the color picker to choose a color for the background.

Use text overlay

When this option is enabled, a background color is added behind the cursor text to make it more readable on background images.

Text Overlay Border Radius

The radius of the border affects the roundness of the corners of the text overlay area. By default, the corners have a slightly rounded edge of 3 pixels. You can reduce this value to 0 to create a rectangular box or increase the value to make the corners even more rounded.

Divi overlay module

Use the Parallax effect

Enabling this option will give your background images a fixed position as you scroll.

Parallax method

Here you can set the method used for the parallax effect - CSS or True Parallax.

Custom Color Arrows

When you hover over a slider module, arrows appear to allow the visitor to navigate through each slide. By default, these arrows inherit the color of the main text of the slide. However, you can define a custom color for these arrows using this setting.

Dot Nav Custom Color

In each cursor, point navigation items appear below the cursor content. These elements allow the user to navigate the cursor. You can define a custom color to use for these elements using the color picker in this setting.

Text color

Here you can choose whether your text is light or dark. If you have a slide with a dark background, choose light text. If you
have a clear background, use dark text.

Section meta module slider diviHeader font

You can change the font of your header text by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Header font size

Here you can adjust the size of your header text. You can drag the range slider to increase or decrease the size of your text, or directly enter the desired text size value in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Text Color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your header text, choose the desired color from the color picker using this option.

Header letter spacing

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your header text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Row Height

Row height affects the space between each row of your header text.If you want to increase the space between each row, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the cursor. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Body font

You can change your body font by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Body font size

Here you can adjust your body text size. You can drag the range slider to increase or decrease the size of your text, or directly enter the value of the desired text size in the input field to the right of the slider. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Body text color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your text, choose the desired color from the color picker using this option.

Spacing of body letters

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Height of the body line

Line height affects the space between each line of text in your body If you want to increase the space between each line, use the range slider to adjust the space or enter the desired spacing size in the input field located to the right of the cursor. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Meta Police

You can change the font of your meta text by selecting your desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all text on your page. You can also customize the style of your text using bold, italic, uppercase and underline options.

Meta Font Size

Here you can adjust the size of your meta-text. You can drag the range slider to increase or decrease the size of your text, or directly enter the desired text size value in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Meta text color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your meta-text, choose the desired color from the color picker using this option.

Meta Letter spacing

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your meta-text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Meta Line Height

Row height affects the space between each row in your meta-text If you want to increase the space between each row, use the range slider to adjust the space or enter the desired spacing size in the input field located to the right of the cursor. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Upper padding

This parameter controls the internal space between the top of the module and the text content in the module. If you want to increase or decrease this space, enter your desired value here. For example, to reduce the space and overall size of the cursor, you could enter a value of 100px. You can also enter a percentage value, for example 10%, to make the height more dynamic.

Bottom padding

This parameter controls the internal space between the bottom of the module and the text content in the module. If you want to increase or decrease this space, enter your desired value here. For example, to reduce the space and overall size of the cursor, you could enter a value of 100px. You can also enter a percentage value, for example 10%, to make the height more dynamic.

Use custom buttonsUse custom styles for the button

Enabling this option reveals various button customization settings that you can use to change the appearance of your module's button.

Button text size

This setting can be used to increase or decrease the size of the text in the button. The button adapts as the text size increases and decreases.

Button text color

By default, the buttons adopt the accent color of your theme as defined in the Theme Customizer. This option allows you to assign a custom text color to the button of this module. Select your custom color using the color picker to change the button color.

Button background color

By default, the buttons have a transparent background color. This can be changed by selecting the desired background color from the color picker.

Button border width

All Divi buttons have a 2px border by default. This border can be increased or decreased using this setting. Borders can be removed by entering a value of 0.

Button border color

By default, button borders adopt your theme's accent color as defined in the Theme Customizer. This option allows you to assign a custom border color to the button of this module. Select your custom color using the color picker to change the color of the button border.

Button border radius

The radius of the border affects the roundness of the corners of your buttons. By default, the buttons in Divi have a small border radius that rounds the corners by 3 pixels. You can reduce this value to 0 to create a square button or significantly increase it to create buttons with circular edges.

Spacing of the letters of the button

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your button text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Police button

You can change the font of your button text by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Add button icon

Disabled, this setting will remove icons from your button. By default, all Divi buttons display an arrow icon on the hover.

Button icon

If icons are enabled, you can use this setting to choose which icon to use in your button. Divi has different icons to choose from.

color icon button

Adjusting this setting will change the color of the icon that appears on your button. By default, the icon color is the same as your button text color, but this setting allows you to adjust the color independently.

Icon placement button

You can choose to display the icon of your button to the left or right of your button.

Show icon only when hovering over button

By default, button icons are displayed only when hovering. If you want the icon to always appear, turn this setting off.

Button Hover Text Color

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Hover button background color

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Color Hover Border Button

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Hover Border Radius Button

When the button is hovered over by a visitor's mouse, this value will be used. The value will change from the base value defined in the previous settings.

Pointing note spacing button

When the button is hovered over by a visitor's mouse, this value will be used. The value will change from the base value defined in the previous settings.

Advanced options of Post Slider

On the advanced tab, you'll find options that more experienced web designers might find useful, such as custom CSS and HTML attributes. Here you can apply custom CSS to any of the module's many elements. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module in your child theme's style.css file.

cursor module

CSS ID

Enter an optional CSS ID to use for this module. An ID can be used to create a custom CSS style or to link to particular sections of your page.

CSS class

Enter the optional CSS classes to use for this module. A CSS class can be used to create custom CSS styling. You can add multiple classes, separated by a space. These classes can be used in your Divi child theme or in the custom CSS style sheet that you add to your page or to your website using the Divi theme options or the Divi Builder page settings.

Custom CSS

Custom CSS can also be applied to the module and any of the module's internals. In the Custom CSS section, you will find a text field where you can add custom CSS style sheets directly to each element. CSS entries in these settings are already wrapped in style tags. So just enter the CSS rules separated by semicolons.

Divi article slider moduleAutomatic animation

If you want the cursor to slide automatically, without the visitor having to click the next button, enable this option, then adjust the rotation speed below if you wish.

Automatic animation speed (in ms)

Here you can indicate how fast the cursor fades between each slide, if the 'Auto-animate' option is enabled above. The higher the number, the longer the pause between each rotation.

Continue Auto slide on Hover

Turning on this will allow auto-slide to continue on the hover of the mouse.

Hide content on mobile

As the screen size gets smaller on mobile devices, screen real estate becomes more valuable. Sometimes it's a good idea to turn off some less important cursor elements to reduce the cursor size and make it more readable. Enabling this setting hides the cursor text content on the mobile.

Hide CTA On Mobile

As the screen size gets smaller on mobile devices, screen real estate becomes more valuable. Sometimes it's a good idea to turn off some less important cursor elements to reduce the cursor size and make it more readable. Activating this setting will hide the cursor call to action buttons on mobile.

View image / video on mobile

As the screen size gets smaller on mobile devices, screen real estate becomes more valuable. Sometimes it's a good idea to turn off some less important cursor elements to reduce the cursor size and make it more readable. Enabling this setting displays slide images and videos on mobile (they are disabled by default).

deactivate

This option allows you to control the devices on which your module appears. You can choose to deactivate your module on tablets, smartphones or desktops individually. This is useful if you want to use different mods on different devices, or if you want to simplify the mobile design by eliminating certain elements from the page.

[vc_row center_row=”yes”][vc_column width=”1/2″][vcex_button target=”blank” layout=”expanded” align=”center” font_family=”Raleway” font_weight=”700″ style=”flat” custom_background=”#18b69d” custom_hover_background=”#118d7a” custom_color=”#ffffff” custom_hover_color=”#ffffff” icon_right=”fa fa-download”]DOWNLOAD DIVI THEME [/vcex_button][/vc_column][vc_column width=” 1/2″][vcex_button url=”https://www.elegantthemes.com/affiliates/idevaffiliate.php?id=23065&url=40632&tid1=tutorials” target=”blank” layout=”expanded” align=”center” font_family =”Raleway” font_weight=”700″ style=”flat” custom_background=”#c4226e” custom_hover_background=”#8d184f” custom_color=”#ffffff” custom_hover_color=”#ffffff” icon_right=”fa fa-download”]DOWNLOAD THE TEMPLATES DIVI[/vcex_button][/vc_column][/vc_row]

Other Divi tutorials