Sitecake removes css classes

Hi everyone,

Everything works fine, except one thing : I’ve set the class sc-content on a div, but when I edit en element inside, it looses its classes ! Witch brokes completely my styling… Do I have to re-write completely the existing CSS files to fit the User Styles requirements and then go over each element to set their classes, or is there a simple solution ?

Thanks :wink:

All classes inside sc-content zones will be removed unless assigned as Sitecake user styles. Make sure your classes have parent declared (id, class or sc-content class) and it will work fine.

Check out documentation on user styles and download Sitecake demo template to see how it worked with plain Bootstrap styles.

https://sitecake.com/docs/user-styles.html
https://sitecake.com/templates.html