HIde block if empty in VC

Posted in: Newspaper
Post count: 8

I”m using visual composer to display a block, block 6, set to show posts from a category with a tag filter as well.

Trouble is, for some posts this info will be empty.. Is there anyway to hide the block display completely if it’s empty? Right now it still shows the title / pagination.. I’d like to just have it disappear altogether if it’s empty.

  • This topic was modified 11 years by regmanabq.
Post count: 6600

Hi,

Unfortunately the theme doesn’t have an option like this but it can be done via custom css for the posts you don’t want to show and hide them using the display: none; property or you can use the tag filter to only get the posts that you want to show and exclude the other ones by removing the tag which filters them.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.