Skip to content

Sliders and Carousels content Duplication #273

Answered by givanz
WARAEW asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

The page builder loads theme's /js/vvvebjs.js where you can add code to control how the page builder handles different theme aspects.

You can use the vvveb.getHtml.before event to clean the theme right before the page is saved.

In Landing theme this event is used to remove various classes such as sticky navbar or animate on scroll classes to avoid issues when reediting the page.

https://github.com/givanz/landing/blob/main/js/vvvebjs.js#L8-L22

You can use the same event to remove the extra elements and styles added by owl carousel.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WARAEW
Comment options

Answer selected by WARAEW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants