How to add a background video to the homepage slider in Venture theme?
Venture is one of the most downloaded free themes from Shopify.
The design of its homepage is perfect to place a video as background and make your store look amazing.
You can also add one video to each slide.
It is possible to add videos to each slide easily using the following pattern:
where N is the index of the slide starting from 0.
If we want to put the video on the first slide, we have to write this selector:
and if we want to put the video on the third slide, we have to write this selector:
To do so, let's go to the app preferences page and tap on New background video at the bottom left corner. After that, let's make sure we have selected home page and let's click on Save and select target.
To make the video appear in our desired location, we need to copy the configuration mentioned above in the Element selector field. Don't forget to click on Save, at the bottom right corner, so that the changes can be applied.
If we want to replace the entire slider, we can use this selector: