-
Beta Was this translation helpful? Give feedback.
Answered by
givanz
Feb 14, 2025
Replies: 1 comment 1 reply
-
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 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. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
WARAEW
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.