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

    Hi team,

    First, the theme is amazing! I love it. How can I create a hover effect on an Image Element where it is black and white, and when hovered over it becomes color? Thanks again!

    #1131107

    Hey studmuphin,

    Refer to the following:

    https://kriesi.at/support/topic/black-white-effect/

    Best regards,
    Jordan Shannon

    #1143924
    This reply has been marked as private.
    #1145052

    Hi studmuphin,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .avia_image {
         -webkit-filter: grayscale(100%); 
        filter: gray;
    }
    .avia_image:hover {
         -webkit-filter: grayscale(0%); 
        filter: gray;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1146272
    This reply has been marked as private.
    #1146404

    Hi,

    It’s working fine on my end on the page you linked to, could you try clearing your browser cache and reload the page or load it in an incognito window please?

    Best regards,
    Rikard

    #1180419

    Sorry to ping this old thread again. The CSS Victoria provided works perfectly, with one notable exception. It doesn’t seem to effect the portfolio elements. Those images are still full color. Here’s a link. Thanks again!

    #1180615

    Hi,

    Thank for the update, but it seems to work on the page in private?

    Best regards,
    Rikard

    #1180671

    Hi! Thanks for the fast reply. It works perfectly inside each portfolio item. The portfolio grid on the homepage however, still shows in full color. Is there a way to make the portfolio grid appear black and white?

    #1180689

    you always have to look for the right selector. On some portfolios ( f.e. Masonry Portfolio Grid ) these images are background-images and no avia-image

    but the transform on hover goes to the same selector:
    on many instances it looks nicer to have the hovered style colored so:

    .avia_desktop .av-masonry-entry .av-masonry-image-container {
        -webkit-filter: grayscale(100);
        filter: grayscale(100);
    }
    
    .avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
    }

    PS : The best thing is to familiarize yourself with the development tools of each browser ( most of them have one ) to always find the right selectors. It is not that difficult. Point the mouse to the place you want to investigate, and then click on “investigate” or similar in the context menu (usually the right mouse button).

    #1180866

    Hi studmuphin,

    Did you get it working for you with Guenni007’s suggestion?

    Thanks, Guenni007 :)

    Best regards,
    Victoria

    #1180994

    Thanks so much! You are all wonderful.

    #1181058

    Hi studmuphin,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Black and White Images’ is closed to new replies.