Hiding custom element

You should be able to set the element as hidden.
https://www.wix.com/velo/reference/$w/customelement/hidden