Grid Element - no image-set to display none?

Hi,

I am using the Grid Element to display images that are dynamically populated through ACF. I have a max of 4 available cells for images. Is it possible to set the grid cells that have no images(cell 3 & 4) set to “display:none”? Sometimes all 4 available cells wont be filled.

Thanks!

Hello Andrew,

Thanks for writing in!

Once you add an inline element css display:none to the columns 3 and 4, it will not display. It is best that you leave it as si if in some cases all of the four columns will have images.

If in case, there is no image needed in the 3rd and 4th column, you cam simply remove the columns instead.

Hope this makes sense.

Thanks! The manual approach can certainly work, but I am trying to have the client just simply add the info via ACF, and not touch the Themeco Builder. Ill figure something out.

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.