Tagged: x
-
AuthorPosts
-
June 29, 2016 at 6:41 pm #1065712
pdopchevParticipantHi guys,
I have been trying to figure out the width and height settings of the essential grid when using a masonry grid. Actually even when using a leveled grid the images are still zoomed in and pixelated. Is there a way to set those properties from the menu? It seems like the grid blows up the images – makes them way larger than original size (45x450px).
Link: http://www.dopchevproductions.com/test/skis/
Thanks for your help!
June 30, 2016 at 12:13 am #1066189
LelyModeratorHi There,
Thanks for posting in. I can see that you have added max-width and height.
.esg-entry-media-wrapper, .esg-entry-cover { max-width: 22px; max-height: 225px; }Other option you might want to try is adding this custom CSS but removing above max width and max height:
.esg-entry-media-wrapper, { text-align: center; } .esg-entry-media img { width: auto; }See attachement.
June 30, 2016 at 1:04 am #1066235
pdopchevParticipantThanks for the hint, Lely!
When I use the suggested css code the images are aligned to the left instead of being centered. By the way,
.esg-entry-media-wrapper, .esg-entry-cover {
max-width: 22px;
max-height: 225px;
}seems to be messing the hover state of the grid – hover items show only partially behind the main image… So I am still looking for a solution.
June 30, 2016 at 2:10 am #1066317
LelyModeratorHi There,
Please update above CSS to this:
.esg-entry-media-wrapper { text-align: center; } .esg-entry-media img { width: auto; }The comma on this line cause syntax error :.esg-entry-media-wrapper, { that’s why it is centered. Error on my part. I am sorry for that.
Unfortunately, the hover issue is not clear to me. Would you mind clarifying so we can help you better?
June 30, 2016 at 4:02 am #1066422
pdopchevParticipantLely,
Thanks for the help! Didn’t notice that comma either… As far as the hover issue – it was happening when using:
.esg-entry-media-wrapper, .esg-entry-cover {
max-width: 22px;
max-height: 225px;
}So it’s all good now!
Thanks again!
June 30, 2016 at 5:53 am #1066533
LelyModeratorGlad that it is all working now.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1065712 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
