Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #641408

    Hi,
    I’m using the simple gallery, with the ‘Big images, thumbnails underneath’ type.
    I’d like to short the fade animation time (for the big images), and I’d like to have a ‘fade to black’ in place of the ‘fade to white’.
    Could you tell me what to do ?

    Thanks in advance for your answer.
    Best Regards

    #641841

    Hey x_in_progress,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Rikard

    #642549

    Hi,
    Thanks for your answer.
    Instead of asking about a ‘fade to black or white’, I saw that the question would be about how to have a color background for the gallery.
    + I had a look at the shortcodes.js and style.css, I still can’t find the way to set the duration of the fade animation.
    I use a child-theme.

    Best regards

    #643240

    Hi,

    It’s possible to speed up the big preview fade in animation but you have to modify the js > shortcodes.js file. And this modification can’t be added in a child theme so you have to do it every time you update the theme. If that’s OK with you, edit the file then go to line 2445:

    big_prev.animate({opacity:1});
    

    .. replace it with:

    big_prev.animate({opacity:1}, 100);
    

    Could you please provide a screenshot of the “color background”?

    Best regards,
    Ismael

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