Home Forums WoodMart support forum Custom hooks return no content, that there is no remaining whitespace

Custom hooks return no content, that there is no remaining whitespace

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #488303

    webreturn
    Participant

    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

    #488687

    Hello,

    Please apply patch 488670 Please find the manual here: https://xtemos.com/docs-topic/automatic-patcher/

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)