We are using the custom product layout builder and we are wondering if you would like to make it so that when the custom hooks return no content, that there is no remaining whitespace?
I am talking about these sorts of elements:
<div class=”wd-wpb wd-rs-62a0495b76185″>
</div>
We would like to be able to use CSS selector ‘:empty’ in order to hide those elements, because otherwise we are left with empty spaces.
Our hooks are sometimes conditional, so it is not guaranteed that there is any output.
That’s why we would want to hide those empty hook elements using something along the lines of ‘.wd-wpb:empty’.
Best regards, Tim