Tagged: x
-
AuthorPosts
-
July 8, 2016 at 3:02 pm #1078365
bluestackParticipantHi,
I recently updated one of my sites to the latest version of X (I love the addition of Superfly BTW!!!) and with it the Envira update to version 1.5.
The option to crop images on the page has now gone from the latest version which is a shame as I use it on sites with large galleries. I then thought I could just use an older version of the plugin to get that functionality back but nothing changed.
I then tried to use this CSS I found on the forum:
.square-images.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item-inner > a {
padding-bottom: 100% !important;
height: 0;
display: block;
position: relative;
}.square-images.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img {
height: 100%;
position: absolute;
width: 100%;
top: 0;
}but it just squeezed the images into a square shape…is there anyway to modify the above CSS to crop the images?
Thanks in advance!
July 9, 2016 at 12:38 am #1078947
Rue NelModeratorHello There,
Thanks for writing in! Based on the given css above, the image will of course get squeezed or stretched out because of the 100% width and height. You should have a 100% width and set the height as auto or vice versa to prevent the image from being stretched out or getting squeezed.
To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thank you.
July 11, 2016 at 8:58 am #1081429
bluestackParticipantHi,
thanks for the reply, sorry in the late response from me, I’ve not been too well over the weekend.
I updated the Envira plugin to the latest version and I’ve since discovered the ‘crop image’ feature is hidden until you change the image size to ‘default.’ Having discovered this I updated the galleries to enable the crop function and still nothing changed so…
…and this is weird…I decided to see if it was a plugin conflict so I disabled all plugins and re-enabled them one by one to see if any were causing the error.
I did so and all of them are now active and the glitch hasn’t resurfaced, and I have no cache setup on the site…
All is working now…err…thanks?
July 11, 2016 at 9:41 am #1081510
JoaoModeratorThanks for lettings us know
In case you still need help with any issue please contact us any time.
Thanks
Joao
July 11, 2016 at 10:20 am #1081568
bluestackParticipantIs it better to start a different problem on a new thread?
July 11, 2016 at 11:29 am #1081695
Nabeel AModeratorHi again,
Yes it’s better to start a new thread for different problem to avoid long threads.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1078365 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
