Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #279118

    Hi there,

    I would like to assign to all images placed via the image holder (advanced layout) to appear in black and white site side, and on hover become colour, is this possible?

    Thanks in advance. Silvio

    #279597

    Hi silviouk!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #main img { filter: grayscale(100%);
        -webkit-filter: grayscale(100%); 
        filter: gray;
        -webkit-transition: all .6s ease; }
    
    #main img:hover {    filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
        filter: none; }
    .image-overlay { display: none !important; }

    Best regards,
    Yigit

    #279708

    Hey, thanks. This only seemed to work on Opera. I tried all other browsers, emptied caches etc, but no joy. Any ideas?

    #279715

    Hi!

    Can you post the link to your website? I tried it on my local installation and it does work fine for me

    Best regards,
    Yigit

    #279936
    This reply has been marked as private.
    #279978

    Hey!

    Thank you for using the theme!

    Please add this on Quick CSS or custom.css instead:

    div.avia-image-container div a img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    }
    
    div.avia-image-container:hover div a img {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    }

    Regards,
    Ismael

    #280054
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘IMAGE HOVER – BLACK AND WHITE TO COLOUR’ is closed to new replies.