All Collections
Marketing
Content Management
Use our Gallery Slider to Sift Through Blocks of Content
Use our Gallery Slider to Sift Through Blocks of Content
Jordan Gilman avatar
Written by Jordan Gilman
Updated over a week ago

Our Gallery Slider enables you to display multiple content blocks (photos, events, etc.) all on a single line. The UI will help you slide between each item. To implement, follow these steps:

  1. Add this script to the bottom of the site:

<script src="https://peoplevine.blob.core.windows.net/media/361/js/pv-portal-min.js"></script>

2. Add the following to the UL element you want to use it on:
"data-portal-slider="true" 

3. Call the portal slider under where you added the script with:

<script>
window.onload = function () {
portalSlider();
};
</script>

or with jQuery:

<script>
$(function(){
portalSlider();
});
</script>

Did this answer your question?