-
AuthorPosts
-
January 15, 2015 at 7:05 pm #380287
Hey folks,
I’m setting up a new site for a client and I selected Enfold based on its flexibility and power. Loving a lot of the features, but I’m having a weird problem with a gallery I inserted via the Avia Layout Builder.

I know that WP has created square aspect ratio thumbnails for the uploaded images, because that’s what I see in the media library. But no matter what Gallery Preview Image Size I choose in the Gallery settings, I end up with these portrait images destroying the uniform grid look.
What am I doing wrong?
Thanks,
Dan
January 15, 2015 at 11:27 pm #380524bump…
January 16, 2015 at 7:52 pm #381052Hi!
Try dragging a codeblock element to your page and add this inside.
<style type = "text/css"> .avia-gallery img { max-height: 200px !important; } </style>Best regards,
ElliottFebruary 1, 2015 at 1:55 am #388901Adding this code doesn’t seem to work for me, I still get the same problem as dgackey.
February 1, 2015 at 2:09 am #388904This reply has been marked as private.February 2, 2015 at 7:35 pm #389576Hey!
That should be working for you as well. I didn’t see it in your source code though. Add it back in and let us know when your done.
Regards,
ElliottFebruary 3, 2015 at 3:13 am #389821Ok, it’s back in…
March 6, 2015 at 7:05 pm #407216Hey!
I still don’t see it for some reason. Add this in Dashboard > Enfold > General Styling > Quick CSS.
.avia-gallery img { max-height: 120px !important; }If your still having troubles then send us a WordPress login and we’ll take a look. Perhaps you have a typo somewhere in your other CSS.
Best regards,
Elliott-
This reply was modified 10 years, 8 months ago by
Elliott.
March 6, 2015 at 7:31 pm #407237This reply has been marked as private.March 9, 2015 at 2:17 am #407807Hi!
Did you set the Gallery Preview Image Size? Set it to Portfolio (495×400).
Best regards,
IsmaelMarch 9, 2015 at 4:14 am #407836This reply has been marked as private.March 9, 2015 at 6:22 pm #408321Hey!
I switched it to a max-height and min-height of 150px. Just play around with the values to change the size.
Best regards,
ElliottMarch 10, 2015 at 4:43 am #408590I see now, thank you!
-
This reply was modified 10 years, 8 months ago by
-
AuthorPosts
- The topic ‘Trouble with gallery thumbnail aspect ratios’ is closed to new replies.
