Possible to pull in Widget ID in module editor? Styles tab edits applying to all modules on page
SOLVE
I am trying to use the Styles Tab, specifically for spacing, to allow the user to add padding and margin to the module element itself. However, when the user changes the styles for one module, it is changing the style for all of those same modules on that page.
This works great if I have one .u3m-alternating-content module (class) on the page, but if I'm using the module in multiple places on the page with unique spacing, there is redundant, conflicting CSS output.
Is there any way to pull in the custom ID generated by Hubspot when a module is added? Ex. #hs_cos_wrapper_widget_1610054290926
If not, is there any way to otherwise target this specific module using the Styles tab, so it doesn't apply to all of the other modules of the same class?
Alternatively, you could use {% scope_css %} instead of {% require_css %} if your portal has access to it, although I've noticed a couple bugs with scope_css, so I'd stick to the {{ name }} variable for now.
Alternatively, you could use {% scope_css %} instead of {% require_css %} if your portal has access to it, although I've noticed a couple bugs with scope_css, so I'd stick to the {{ name }} variable for now.