Skip to main content

Nectar Slider Plugin

Building a new slider?

The Carousel element set to Simple Slider is now the recommended way to create a slider in Salient. Each slide is an ordinary page builder column, so you get far more control over content, alignment and sizing, and you build it directly in the editor rather than in a separate slider screen. See the Carousel element.

The Nectar Slider is still fully supported and existing sliders keep working, so there is no need to rebuild anything. What follows documents it.

As seen in various theme demos such as this one, the Nectar Slider displays a set of slides you create in its own admin section, with an optional parallax that moves the slide background at a different speed as the user scrolls. It supports unlimited instances, so you can have as many different Nectar Sliders on your site as you desire. You’ll find configuration options specific to the slide when creating it, and more configuration options that apply to all slides in the instance when adding the Nectar Slider to a page via the Salient WPBakery Page Builder.

Creating Slides​

Head to the Nectar Slider section in your admin menu and click “Add New”. Inside the slide creation screen, you’ll find two metaboxes which you use to populate and categorize your slides.

  • Slide Settings: The configuration metabox that determines the slide content and styling. There are options for background type (image or video), alignment, buttons and more.
  • Slider Location: The categories you use to group slides that you wish to display together. When you add a Nectar Slider through the page builder or shortcode, you select the slider location to query all slides assigned to it.

The Nectar Slider Edit Slide screen, with the Slide Settings metabox outlined in blue and Slider Locations in red

Page Builder Element Settings​

When adding a Nectar Slider to your page through the page builder, you’ll have a list of settings you can use to control the style and functionality for each instance.

A Nectar Slider element in a WPBakery backend editor row, showing Select Slider: About with the green edit controls

  • Slider Height: Enter the height you would like your slider to display at on desktop monitors. The amount your slider scales down for each smaller viewport (tablet, phone etc.) is determined by this.

  • Display Full width: Expands your slider to the full width of the screen. When using it, there’s no need to set the parent row to “full width content”. It’s preferable that the parent row type remain “full width background” or “in container”, so as not to waste processing. If you’re not seeing this option, you likely have the parent row type already set to “full width content”.

  • Display Arrow Navigation: Adds next/previous navigation buttons to your slider.

  • Overall Style: Choosing “Directional based content movement” limits the further customization options you have to select from.

  • Display Bullet Navigation: Adds an optional bullet navigation to your slider.

  • Enable Swipe on Desktop: Allows users to click and drag the slider to change slides when accessed on a non-touch device.

  • Parallax Slider: Animates the background layer at a different speed than the scrolling speed to create a parallax effect.

  • Slide BG Animation: Optionally adds a “Ken Burns” slight zoom animation to each slide.

  • Loop Slider: Allows your slider to loop infinitely once the end has been reached, i.e. the last slide leads back to the first slide.

  • Slider Transition: Choose between a “Slide” and a “Fade” effect used when changing slides.

  • Caption Transition: Controls the animation your slide content performs when changing slides.

  • Autorotate: If you would like this slider to autorotate, enter the rotation speed in milliseconds here, e.g. 5000

  • Button Sizing: Select how large you would like the buttons in each slide to display.

Frequently Asked Questions​

How do I reorder slides? In the Nectar Slider admin menu, there’s a link labeled “Slide Ordering”. Click that, select your desired slider location at the top and then drag and drop your slides into the order you want. The order saves automatically every time you release one of the slides in a new position.

How can I keep images from cropping? If you’re using the Nectar Slider “Display Full Width” option and would like your image to always remain 100% visible without cropping the edges, turn on the option for “Flexible Height”. The flexible height option requires you to enter a slider height that may differ from your actual image height, because it assumes the width of your image is 1600 by default. To get the height, scale your image to 1600 wide: multiply its height by 1600 and divide by its width.