Divider Shortcode

Last Updated on

A great way to organize page content is to use divider/separator lines. The divider shortcode allows you to insert different kinds of dividers between the page contents.

To display a divider in the Jupiter theme, you only need to add the divider shortcode in Visual Composer and configure the settings.

To see the Divider shortcode in action, check out the demo page.

Divider Shortcode - demo

In this article


Displaying a Divider

To add a divider:

1
Add a new page or edit an existing page.
2
From the Visual Composer screen, click on the + button.

Divider Shortcode - visual composer section

3
In the Add Element pop-up screen, search for Divider and click on it to be added to the page.

Divider Shortcode - add element

4
When the shortcode is added, a new pop-up screen called Divider Settings will open that allows to configure the shortcode settings.

Divider Shortcode - divider settings

5
Click on Save Changes and publish or update the page to check the result.

Configuring the Design

To change the divider style:

There are two types of settings to configure the design: Predefined Design and Design Properties.

Setting Description
Predefined Design The predefined design of the separator line.
Design Properties Settings like color, width, padding and so on which customize the specific styling of the separator.

1
Click on Edit Divider to open the divider settings pop-up.
To change the predefined design:

Divider Shortcode - edit divider

2
From the Style setting, select one of the options: Double dotted, Thick Solid Line, Thin Solid Line, Thin Dotted Line, Shadow Line, Go Top with Thin Line, Go Top with Thin Line, or Empty Space

Divider Shortcode - divider style

3
Click on Save changes.

Customizing the Separator Predefined Design

There are a few settings in the divider settings pop-up to customize the default styling.

Setting Description
Divider Color Changes the color of the divider. This option is only available for some styles and will be displayed in a new tab next to General.
Divider Width Sets the width of a divider.
Align Sets the alignment of a divider.
Padding Top Creates empty space above the divider.
Padding Bottom Creates empty space below the divider.

x
Note: If you need to go beyond the default settings to customize the look and feel of the item’s design, you can add a custom CSS class in the Extra Class Name setting to be able to add specific styling to this shortcode through CSS. For more information, read the Adding custom CSS class to a shortcode article.

Configuring the Visibility for Devices

To hide/show the divider for a particular device (mobile, tablet, …), there is a setting in the divider pop-up called Visibility For Devices. Using this setting is easy and straightforward but if you need an step-by-step tutorial, read the Configuring a shortcode’s visibility article.

 


Adding an Entrance Animation

To make the divider visible on scroll with animation, there is a setting in the divider settings pop-up called Viewport Animation. Using this setting is easy and straightforward but if you need a step-by-step tutorial, read the Configuring a shortcode’s entrance animation article.

Was this helpful?
Previous Article:
Next Article:

Can't find what you're looking for?

Open New Ticket