New Landing How can we help? Themeforest Theme Support Dante How to create Icons with containers without hover effect

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Dante
  • #118967
    celeteweitz
    Member
    Post count: 57

    Hi Support,

    I am trying to create solid background icons with containers and no hover effect. I have attached an image file for your reference. The url where you can find the example is http://getclouder.com

    regards
    celeste

    Attachments:
    You must be logged in to view attached files.
    #119102
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can create icons through icons shortcode. Dante includes the Swift Framework Shortcode Generator, which is a custom built feature for our themes. The generator allows you to embed shortcodes within your content quickly without having to remember the syntax. The generator allows you to select the type from the list, and provide parameters (if needed).

    You can find the shortcode generator within the WordPress WYSIWYG editor.
    Thanks
    Mohammad

    #119116
    celeteweitz
    Member
    Post count: 57

    My apologies, the question was something different, I Know how to use shortcodes, so thank you for the information provided.

    I asked, is there any way, I can have a solid background color for the icon container along with white color for the icons. In other words, the background and hover to be the same without any hover effect, or the normal state should be the hover state, either way you interpret it.

    regards
    celeste

    #119119
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please create icons and use this custom css code:-

    .sf-icon-cont .sf-icon {
        color: #ffffff !important;
    }
    .sf-icon-cont {
        background: none repeat scroll 0 0 #4ad1e5 !important;
        border: medium none !important;
    }

    Thanks
    Mohammad

    #119182
    celeteweitz
    Member
    Post count: 57

    thnx for the response.

    I have a question, the solution provided by you will set the background color same for all the icon containers, how to have different background colors for different icons.

    Regards
    celeste

    #119196
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you provide the url of the page where you have these icons?
    Did you used the Page Builder or the shortcode element to create the icons?

    -Rui

    #124985
    celeteweitz
    Member
    Post count: 57
    This reply has been marked as private.
    #125000
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    .sf-icon-box.sf-icon-box-standard {
      pointer-events: none;
    }

    – Kyle

    #125060
    celeteweitz
    Member
    Post count: 57

    Hi Kyle,

    Well I wanted the effect to be the container with solid colors and the icon to be of #fff. I have attached a pictorial representation. Is this possible.

    regards
    celeste

    Attachments:
    You must be logged in to view attached files.
    #125063
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this:

    .sf-icon-cont.sf-icon-icon-three {
      background-color: #0e83cd;
    }

    You will have to duplicate the css for each icon color, for e.g. sf-icon-icon-two, sf-icon-icon-four etc.

    For the icon use this:

    .sf-icon-icon-three.sf-icon-cont, .sf-icon-icon-three > i, i.sf-icon-icon-three {
      color: #ffffff;
    }

    – Kyle

    #125085
    celeteweitz
    Member
    Post count: 57

    Hi Kyle,

    Thanks for the prompt reply and help, it worked. Just one more question:

    How to stop hover effect for the icon shortcodes?
    I am using the Medium icons and I tried

    .sf-icon.sf-icon-medium {
     pointer-events: none;
    }

    But it did not worked

    #125086
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You got a link?

    – Kyle

    #125087
    celeteweitz
    Member
    Post count: 57

    Hi Kyle,

    Sure, you will find the chat icon within a circular container on the home page: http://martmill.com/home below where it says ‘Support Options’.

    regards
    celeste

    #125088
    Kyle – SUPPORT
    Moderator
    Post count: 35880
    .sf-icon-cont {
      pointer-events: none;
    }

    – Kyle

    #125090
    celeteweitz
    Member
    Post count: 57

    Hi Kyle,

    Awesome, thnx a lot. You just made my day.

    Can u believe I was stuck on this for the past 15 days!!!
    whoa, I can’t believe, that it got resolved.

    U guys rock, no doubt. Awesome support.

    regards
    celeste

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.