Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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
    Nikola

    #1200646

    Hi 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,
    Nikko

    #1201156
    This reply has been marked as private.
    #1201385

    Hi 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.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. 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 ).
    5. Click ” Submit “.
    6. 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,
    Nikko

    #1201625
    This reply has been marked as private.
    #1202033

    Hi 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,
    Nikko

    #1202224
    This reply has been marked as private.
    #1203453

    Hi,

    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,
    Rikard

    #1203666
    This reply has been marked as private.
    #1203897

    Hi 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,
    Nikko

    #1203914
    This reply has been marked as private.
    #1204030

    Hi Nikola,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Change image size on masonry gallery’ is closed to new replies.