Support

Account

Home Forums Backend Issues (wp-admin) ACF Gallery in the backend: data-columns attribute

Unread

ACF Gallery in the backend: data-columns attribute

  • Is there a way to manually set a minimum number to the data-columns attribute on a gallery field or even better, remove it?

    Even when images are set to thumbnails, there’s a huge grey box surrounding them. On any resize this disappears and the images appear as thumbnails without the grey background.

    <div id="acf-block_***" class="acf-gallery ui-resizable" data-library="all" data-preview_size="thumbnail" data-min="2" data-max="50" data-mime_types="" data-insert="append" data-columns="2" style="height:400px">
    
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.