Is there a hook for adding attributes to the elementor section on the edit-mode/backend? #16428
aliboy08
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a hook I can use for adding custom attributes/classes to the elementor section on the edit mode?
I added custom settings for the section, it just adds a class on it, I used this hook =
elementor/element/section/section_advanced/before_section_end
then I render the settings using this hook = elementor/frontend/section/before_render
https://prnt.sc/1u67xn5
The problem is, it is only rendered on the front-end, so when viewing it on the edit mode it is not styled.
backend/edit mode = https://prnt.sc/1u68pbj
Front-end = https://prnt.sc/1u68uga
Beta Was this translation helpful? Give feedback.
All reactions