In addition to the default method (when we place the plugin inside an element), we can also target an element by element's ID name, and in such case the plugin does not have to be inside the element anymore.
- Give an ID name to your element.
- Select the Cookies Plugin (that is now located somewhere outside of the element).
- Add a new attribute called "element", and for the value type the ID name
- Name → element
- Value → Element's ID