Primary Box Should be hidden when there is no item

If there is no attribute items inside primary box, then hide those box instead showing empty box. see this screenshot:

And if possible “Report Listing” should be put after profile box, because its not the primary objective of the listing page. Profile box is much more important

Hi,

This is how it should work by default if you have all listing attributes removed or in draft status. As for changing the Report listing order, this will require custom code, please see this sample snippets: Search · user:hivepress order · GitHub. Also, you can always change the Listing template layout using this documentation: How to customize templates - HivePress Help Center

I hope it helps

Hello,
With jQuery (or plain vanilla JS), it is possible to test the existence of some value, and if the value does not exist, to hide the parent container.

Check this : https://stackoverflow.com/questions/70696910/hide-parent-element-if-no-elements-exist-in-child-element

Hope this helps.