Why does the data-w-id show on some elements, but not others?

I thought that if I refer to classes (instead of elements), that the data-w-id would not be generated. Could someone enlighten me on how to avoid getting a data-w-id attached to an element?


Off the top of my head I know using CSS Grid will do it. So will using Interactions when selecting element versus by class.

1 Like

Ah yes. It seems that not having selected ‘Class’ on the main menu of the interactions causes the element ID to engage (since the default is ‘Element’), even though I have ‘Class’ selected within the action itself.