Hello, we have to build microsites / landingpages for a marketing campaign for our client. The deployment is in a way where we only can paste our websites code from within < head > … < /head > and < body > … < /body > to their system.
As soon as I use any effect on a page, Salient is adding attributes to < body > like < body data-rsssl=1 class="home page-template-default page page-id-9980 material wpb-js-composer js-comp-ver-6.6.0 vc_responsive" data-footer-reveal="false" data-footer-reveal-shadow="none …
But since I can not deploy the code including < body … > but only the stuff within < head > … < /head > and within < body > … < /body > the effects do not work anymore.
Any idea how I can avoid to have attributes added to <body or to have them added to some div instead somewhere WITHIN the header or body?
Unfortunately, Salient is built in such a way where attributes on the body are required for the CSS/JS to work correctly. Depending on what settings/elements you're using would require various tweaks to the underlying assets to accommodate placing the body attributes on a top-level wrapping div.
Hello, we have to build microsites / landingpages for a marketing campaign for our client. The deployment is in a way where we only can paste our websites code from within < head > … < /head > and < body > … < /body > to their system.
As soon as I use any effect on a page, Salient is adding attributes to < body > like < body data-rsssl=1 class="home page-template-default page page-id-9980 material wpb-js-composer js-comp-ver-6.6.0 vc_responsive" data-footer-reveal="false" data-footer-reveal-shadow="none …
But since I can not deploy the code including < body … > but only the stuff within < head > … < /head > and within < body > … < /body > the effects do not work anymore.
Any idea how I can avoid to have attributes added to <body or to have them added to some div instead somewhere WITHIN the header or body?
Thank you Florian
Hey Florian,
Unfortunately, Salient is built in such a way where attributes on the body are required for the CSS/JS to work correctly. Depending on what settings/elements you're using would require various tweaks to the underlying assets to accommodate placing the body attributes on a top-level wrapping div.