Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • mazhar shah Friend
    #1079588

    The images in the BLOG are greyscale until you hover over them and they are full colour. Looks super. I want to place some images as ‘headers’ on actual article pages and I want them also to be greyscale until someone hovers over them too.

    Does anyone know the css class I can add to the images on actual article pages to get this effect. Or I can add a new image class to the custom.css if someone could guide me on the code to add to the custom css file please.

    • This topic was modified 6 years, 4 months ago by  mazhar shah.
    Pankaj Sharma Moderator
    #1079811

    Hi
    Here is the code used to the grayscale

    .blog .item-image img {
        -webkit-filter: grayscale(1);
        filter: grayscale(1);
    }
    
    .items-leading .leading:hover .item-image img {
        filter: grayscale(0.5);
    }

    You can use these style and change the name of the classes as per needs.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Pankaj Sharma 6 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum