-
AuthorPosts
-
April 3, 2020 at 4:40 pm #1200569
Hi
How can I change the size of the images in an masonry gallery?
Have a look at https://kleidsam-kurse.ch/shop/Best regards
NikolaApril 3, 2020 at 9:42 pm #1200646Hi Nikola,
There are 2 approaches for this, first one is via plugin:
– https://wordpress.org/plugins/simple-image-sizes/
Then go to Settings > Media, change the size of the Masonry image size and regenerate images.Second one is via code (in a child theme).
If you don’t have a child theme yet, you’ll need to use one, you can download and find instructions in the link: https://kriesi.at/documentation/enfold/child-theme/
Then add this code at the bottom of functions.php (and change the width and height values):function enfold_customization_modify_thumb_size( $size ) { $size['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); return $size; } add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
This will only resize for masonry images that has been uploaded after the code is added.
For old images, you can use regenerate thumbnail plugins.Best regards,
NikkoApril 6, 2020 at 9:07 am #1201156This reply has been marked as private.April 6, 2020 at 9:35 pm #1201385Hi Nikola,
Can you tell us what exact width and height you want to set on those images?
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoApril 7, 2020 at 3:18 pm #1201625This reply has been marked as private.April 8, 2020 at 10:30 pm #1202033Hi makni1,
For the logo, there seems to be a lot of menu links, to fix it, I have added this CSS code in Quick CSS, located in Enfold > General Styling:
@media only screen and (max-width:1410px) { #top #header .container.av-logo-container { padding: 0; } } @media only screen and (max-width:1280px) { #top #header .container.av-logo-container { width: 100%; } } @media only screen and (max-width:1156px) { .responsive #top .av-main-nav .menu-item { display: none; } .responsive #top .av-main-nav .menu-item-avia-special { display: block; } #top #header .container.av-logo-container { width: 90%; } }
As for the masonry, can we request for ftp access as well? since Theme Editor isn’t available in the backend.
Best regards,
NikkoApril 9, 2020 at 11:34 am #1202224This reply has been marked as private.April 14, 2020 at 6:47 am #1203453Hi,
I’m very sorry for the late reply. I tried logging in using the FTP login details you posted, but they don’t seem to be working unfortunately. Please see private, I tried both FTP and SFTP without any success.
Best regards,
RikardApril 14, 2020 at 4:58 pm #1203666This reply has been marked as private.April 15, 2020 at 9:52 am #1203897Hi Nikola,
I apologize for the delayed response.
I tried both FTP and SFTP and it does not work (check private content).
Also can you renew the admin access? since it has already expired.Best regards,
NikkoApril 15, 2020 at 10:35 am #1203914This reply has been marked as private.April 15, 2020 at 4:32 pm #1204030Hi Nikola,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Change image size on masonry gallery’ is closed to new replies.