Button to close slider above masthead

Is there a way to add a button, either within a revolution slider, or over it, to close the slider and hide/collapse its container where the slider is embedded in the page as ‘above masthead’?

I’d like the slider to play on page load but for the visitor to be able click a button so that the slider disappears and the header returns to the top of the window, as-if a slider wasn’t inserted.

I have tried adding a button layer in the slider with the action ‘close modal’ - although this does close the slider, it’s container remains the same size.

Hi Dan,

Thanks for reaching out!

To add a button to close the slider will require some custom code in js. Please check a great example below:

Please keep in mind that customization is outside the scope of our theme support. You may seek 3rd party developers to help you with your problems or you can avail One where we can answer questions outside of the features of our theme.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.