Support » Fixing WordPress » New Galleries Use Object-fit by Default

  • Sorry if this is posted in the wrong category…..

    I’m confused why wordpress seems to have defaulted to having galleries using object-fit by default. This works GREAT in a predictable world where all images are nice and big and about the same size. Back down in the real world this is never the the case. So now I have to add extra code to override this on every site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sgumby

    (@sgumby)

    Sorry…..Let me clarify….it is also caused by the flex junk…. If I have a gallery of 5 columns and then the last row is 1 image it blows the image container up to 5x the size and then with the object-fit its blurry and ugly. This is really a poorly designed concept.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Which gallery plugin(s) are you using?

    Thread Starter sgumby

    (@sgumby)

    I’m not using any. This is the default gallery in the new block editor.

    Thread Starter sgumby

    (@sgumby)

    I’ve had this problem with 2 different themes and the stylesheet that seems to be doing this is a wordpress stylesheet and not a theme stylesheet.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Please provide a link to a page on your site where we can see this. Thanks.

    Thread Starter sgumby

    (@sgumby)

    I’ve fixed it already and the site is pass protected because its still being developed. I’ll post a screen shot and my “hack” solution later.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.