Working with Slider (Nestable) and Gallery field
Learn how to make the ACPT Galery work with nestable slider
Last updated
Learn how to make the ACPT Galery work with nestable slider
Last updated
Slider (Nestable) is one of the Bricks builder core blocks.
It allows the user to create a slider with nested elements like text and buttons.
The ACPT Gallery field can be used to fill the slider images.
Drag a nestable slider to the canvas to work with the ACPT Gallery field (notice that three blank elements are automatically added).
Now click on the Slide 1 element, and select the background property in the style tab.
Choose the gallery field, like this:
{acpt_movie_box_gallery}
The FIRST image is pulled out from the gallery.
Now move to the second slider element (Slide 2) and do the same.
In this case, pull the SECOND image from the gallery in this way:
{acpt_movie_box_gallery:1}
Indeed, the ACPT gallery field allows the user to display a single image specifying its index.
The count starts from 0, so the second element has 1 as the index (not 2). If no index is specified, the first image is pulled out.
Finally, do the same for the THIRD element (Slide 3):
{acpt_movie_box_gallery:2}
Repeat the process for all the elements of your slider.