Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Referencing a div element generated by Kadence when no ID is visible

Home / Forums / Kadence Theme / Referencing a div element generated by Kadence when no ID is visible

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
January 22, 2025 at 7:04 pm

<div class=”kadence-element-wrap vs-lg-false”><!– [element-860] –>

Hello,

I need to reference a div element generated by Kadence in a JavaScript. There is no ID visible in the HTML code, and the class name is quite lengthy, so I would rather avoid using that in the Javascript if possible. Is there a way to assign an ID to the div? Or some other way I can reference it in JavaScript?

Thanks

  • The forum ‘Kadence Theme’ is closed to new topics and replies.