- Visual Composer Dashboard (global only)
- Visual Composer Frontend editor (local and global)
If you want your code to execute on a single page or several pages out of many, it is highly recommended to use local CSS & JS. If you want to add custom code site-wide, you will need to use global CSS & JS.
Local CSS & JS allows you to keep your site clean and improve your Core Web Vitals score since Google penalizes sites with unused CSS & JS.
An element-specific custom CSS can also be added using a custom CSS field which is located under the advanced tab:
Element ID & Extra class name
All elements of Visual Composer have 2 default parameters:
- Element ID
- Extra class name
- Add unique Element ID or Extra class name
- Add your custom code
Important: It is not recommended to use the same Element ID for multiple elements.