Feature · Elementor · King Addons
Custom CSS: CSS scoped to one Elementor element
The Custom CSS feature injects a code control on the Advanced tab of Elementor elements. Use it for one-off selectors. Site-wide snippets belong in Custom Code Manager.
Get King Addons
Install the plugin from WordPress.org, enable this feature in the dashboard, then follow the steps on this page.
What it actually does
Controls: Enable Custom CSS, Custom CSS (code editor, language CSS, render_type and label_block flags in PHP).
Prefix class is applied so your CSS can target the element. It is not a replacement for the Style tab.
Where to find it in WordPress
Dashboard → Features → Custom CSS. Select an element → Advanced → Custom CSS.
How to set it up
- Enable the feature. Dashboard → Features.
- Select the element. Keep CSS local.
- Enable Custom CSS and write rules. Prefer selectors that use the element’s wrapper class.
- Preview front end. Editor iframe CSS can differ.
Controls that change behavior
| Control | What the plugin does |
|---|---|
| Enable Custom CSS | Turns on the injector. |
| Custom CSS | The stylesheet for this element. |
When this is the right tool
- A one-widget hover that Style tab cannot express.
- A grid tweak you do not want in the theme.
Notes from the implementation
Do not paste 200 lines of global CSS here — use Custom Code Manager. kingaddons.com.
FAQ
Why is my selector not winning?
Elementor Style tab uses high specificity. You may need equally specific selectors.
Is this Elementor Pro Custom CSS?
No. It is King Addons’ Advanced-tab control on free Elementor.
Other King Addons features
Collapse & Expand Text
Advanced-tab feature: collapsed height, Show More/Less labels, animation duration, button position/colors/size, optional fade.
Duplicator
Not an Advanced-tab control. It adds “King Addons Duplicator” to post/page row actions, then runs admin_action_kng_duplicator_action with a nonce.
Faceted Filters
Not a site-wide search plugin. Advanced-tab controls on specific King Addons grid widgets: Enable, Filter Query ID, AJAX updates, persist state in URL. AJAX action king_addons_faceted_filters.
Get King Addons
Custom CSS ships in King Addons for Elementor. Install the plugin from WordPress.org, then come back to this guide when you configure it.