New Landing How can we help? Themeforest Theme Support Dante Images instead of standart icon

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #316676
    arkercon
    Member
    Post count: 14

    I tried to replace icons with custom images using this topic http://www.swiftideas.com/forums/topic/image-instead-of-icon-in-an-icon-box/

    Now I need to disable a standart icon output (see left icon on the front page: custom and standard icons together) and add additional image for a mouseover (hover) view.

    Now I use next code:

    .extraclass .sf-icon-standard .sf-icon-cont {
      background-image: url("https://www.arkerconfig.com/wp-content/uploads/Arker_WebIcon_Products_Outline.png");
      background-repeat: no-repeat;
      background-size: 80% auto;
    }
    .extraclass .ss-bike {
      display: none;
    }

    Any recommendations?
    Thanks!

    #316972
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    So on hover you want to remove your standard image and replace with a new hover icon? Please use this:

    .extraclass .sf-icon-standard .sf-icon-cont:hover {
        background-image: url(images/crease.svg);
    }
Viewing 2 posts - 1 through 2 (of 2 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