New Landing How can we help? Themeforest Theme Support Dante client logos b/w standard – on hover colour

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #74529
    makemakes
    Member
    Post count: 120

    Hi,

    Is it possible to upload the logos in colour and show them standardly in b/w (monochrom) and when hovering show their real colour?

    Cheers,
    Robby

    #74538
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi
    Unfortunately this is not a current feature of the theme, however it is possible with some css.

    If you upload your coloured logos and let me know your link I will see what I can do for you

    – Kyle

    #74617
    makemakes
    Member
    Post count: 120
    This reply has been marked as private.
    #74628
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok add this to your custom css:

    .client-item figure {
      filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
      filter: gray; /* IE6-9 */
      -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
      -webkit-transition: all 0.6s ease; /* Fade to color for Chrome and Safari */
    }
    .client-item figure:hover {
      filter: none;
     -webkit-filter: grayscale(0%);
    }

    – Kyle

    #74630
    makemakes
    Member
    Post count: 120

    thanks, works like a charm !

    #74639
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! No problem 🙂

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register