Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1347268

    I am using a Masonry Gallery to display images and have deactivated all animations. But when I move the mouse over the image, it zooms slightly in, so a mouseover event (or hover) is still switched on. My normal images are 600×400, but I’ve reproduced this with an image 845×684 (which is the image size set in the Masonry Gallery). The other settings are Perfect Grid and Portrait (I’ve also tried Portrait). No matter what I set and no matter which image size I use, the hover zoom effect is always there and I need the image to display at 845×684 with no effects at all. How can I switch the zoom effect off?

    #1347282

    Hey coldstreamer,

    Thank you for the inquiry.

    You can disable the image animation in the masonry gallery’s Advanced > Animation > Image effect settings. Select the very last option to disable the hover effect.

    Best regards,
    Ismael

    #1347293

    Hi Ismael,
    I know, I’ve done that. I’ve deleted my cache, have no caching plugins, tried with images 600×400, 845×684 and no scaling. I’ve tried putting the element in a container and on the blank page. I’ve tried on two computers with different browsers and in incognito mode. I still see the effect although the animations are off. I also rebooted my router just to make sure that wasn’t caching anything. Can I give you access to my test site so you can see the effect and check the masonry setting is ‘off’? (which e-mail address?) I’m using a child theme BTW.
    Best wishes,
    Andrew

    • This reply was modified 2 years, 7 months ago by coldstreamer.
    #1347372

    Hi,

    Thank you for the inquiry.

    You can use the email address (Email address hidden if logged out) for the new admin account, just make sure to generate the username and password in your end. Also, please make sure to update the theme to version 4.9.2.1, then temporarily temporarily disable the Enfold > Performance > File Compression settings. We will check the site again once the login details are available.

    Best regards,
    Ismael

    #1347390
    This reply has been marked as private.
    #1347504

    Hi,

    Since the automatic update is not working, you will have to download the theme directly from your Themeforest account and upload it manually to your server via FTP. Please check this documentation for more info.

    // https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp

    The update should help fix the animation issue with the masonry element. Please let us know once the theme is updated.

    Best regards,
    Ismael

    #1347525

    Hi Ismael,

    I updated the theme yesterday afternoon. No change so far …

    Best regards,

    Andrew

    #1347550

    the container is scaled a little:
    try in quick css:

    .avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
      transform: scale(1)
    }
    #1347568

    Hi Guenni007,

    Thanks for taking the time to analyse the issue.
    Your solution didn’t work to start with, but I modified the code a little to:

    /*——–Remove zoom for masonry gallery——–*/
    avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
    transform: scale(1) !important;
    }

    and then it worked perfectly on my PG test website :-)

    BUT the identical change implemented on the pending live site didn’t work. So, I doubled-checked the elements on the two sites are using the same parameters, and I compared the source files in the avia template masonry_entries folder but couldn’t see any differences between the Enfold Version 4.9.2.1 sources and the current ones on the pending live site (Version: 4.8.9.1). So, I guess there’s been a change made somewhere else in the sources of the new theme version (in the Enfold changelog I can see an entry for the masonry gallery in Version 4.9.2).
    To recap FYI:
    PG test website is running on theme version Version: 4.8.9.1 (fix doesn’t work)
    Pending live site is running on Version: 4.9.2.1 (fix works)

    So, I’ll wait until Version: 4.9.2.1 is officially released and then install that on the pending live site (after a backup – no offense intended ;-).
    You’ve helped me by pointing me in the right direction and I can see that with a new release, it would work.
    I love the Enfold theme and I think you guys are all doing a fantastic job. So, keep up the good work and the mega support!

    Best regards

    Andrew

    #1347569

    I forgot that later I did in fact modify a couple of lines in the masonry_entries.css file!
    I changed lines 262 and 267 from

    .avia_desktop .av-hover-overlay-active.av-caption-style-overlay .av-masonry-entry .av-masonry-image-container
    { opacity: 1;}
    .avia_desktop .av-masonry-entry:hover .av-masonry-image-container{
    -webkit-transform: scale(1.05,1.05);
    transform: scale(1.05,1.05);
    }

    to:

    .avia_desktop .av-hover-overlay-active .av-caption-style-overlay .av-masonry-entry .av-masonry-image-container
    { opacity: 1;}
    .avia_desktop .av-masonry-entry:hover .av-masonry-image-container{
    -webkit-transform: scale(1);
    transform: scale(1);
    }

    Sorry for forgetting that in my previous comment!

    #1347655

    Hi,
    Glad to hear that you have this sorted out, shall we close this then?

    Best regards,
    Mike

    #1347669

    Hi Mike,
    Yes, you can close this. Thanks a lot!
    Best regards
    Andrew

    #1347685

    this is often the case that a css setting determined via the developer tools works immediately, but eventually the rule must be set to at least important to take effect.
    For my part, I try to get rules to show an effect rather through higher specificity. If at all possible I like to avoid setting !important rules.
    What usually helps in this context is to add an ID to the rule.
    Here you have to be a bit careful because avia-desktop sits at html as a class. Therefore – guess this wil work too:

    .avia_desktop #top .av-masonry-entry:hover .av-masonry-image-container {
    -webkit-transform: scale(1);
    transform: scale(1);
    }

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.