ACF Views
Use Plugin
Get PRO
Video Tutorials
Search
⌃K
Links
🌱
Getting Started
ACF Views for WordPress
Demo Import
Supported field types
Performance
Report a bug
Suggest a Feature
Compatibility
Pro License
📚
Guides
ACF Views
ACF Cards
⚙
Customization
Filters
Interfaces
*
FAQ's
Basic
Masonry gallery last image stretching
Advanced
Powered By
GitBook
Masonry gallery last image stretching
When assigning the ACF Gallery field to your View, the last image usually displays on it's own row or stretched horizontally.
How to fix it using CSS overrides
Copy the following CSS snippet into your ACF View -> Advanced Tab -> CSS Code field.
// masonry images last image fix stretching
#view .acf-view__image-outer
{
width
:
fit-content
!important
;
}
FAQ's - Previous
Basic
Next - FAQ's
Advanced
Last modified
9d ago