Aakash Maurya

Aakash Maurya

  • 91
  • 19.8k
  • 1.2m

How to detect which WebPart zone is empty?

Mar 2 2017 12:01 AM

I have 2 columns and 2 row div structure in my custom page layout of Publishing type. I have kept 4 WebPart zones in each boxes made by div structure.

Now my requirement is, the box with no WebPart added should not be displayed on the page in display mode.

But this is not working here.

So, my question is:

How do I detect which WebPart zone is empty?

Note: I am having only SharePoint designer to work with as its SharePoint Online.


Answers (2)