Custom CSS
Defining a custom look & feel through a CSS stylesheet
To define a custom look and feel through a CSS stylesheet, assign the URL of your CSS file to the customCss property in your JavaScript code, as shown in the following example.
customCss: 'https://yourdomain.com/stylesheet.css'
Using different values for different users of the builder
You can customize the builder's CSS for different users by dynamically setting the customCss property with a unique CSS file URL for each user. Simply concatenate the user-specific identifier to the base URL as shown in the example code.
customCss: 'https://yourdomain.com/' + users[config.user].id + '.css'
Best practices and risk management
Custom CSS is an advanced feature, which gives the host application great flexibility to customize the UI/UX of the builder. Please use this feature with caution. If you're looking to hide certain UI elements, we recommend you first check if that can be accomplished with Advanced Permissions, as it may be easier to implement.
When used properly, it is a powerful tool that can be leveraged to accomplish anything from applying custom styles with fine granularity to changing icons.
When misused, however, it may harm the user experience and the rendering capability of the builder’s stage. For example, styles applied to the stage via CSS will not be reflected in the preview or exported HTML.
Changing tile icons in the sidebar
This is an example for the Title block
Smart Merge Tag Styling
Custom CSS Example Code
Are you looking for an example of how you can use Custom CSS to adjust the look and feel of the Beefree Editor?
This example demonstrates advanced interface theming for the Beefree SDK using a modern React + TypeScript architecture. It showcases how to dynamically apply custom CSS themes to transform the entire editor interface.
Last updated
Was this helpful?

