Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › How to create Icons with containers without hover effect
New Landing › How can we help? › Themeforest Theme Support › Dante › How to create Icons with containers without hover effect
- This topic has 15 replies, 4 voices, and was last updated 10 years by Kyle – SUPPORT.
-
Posted in: Dante
-
October 9, 2014 at 4:44 pm #118967
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
celesteAttachments:
You must be logged in to view attached files.October 10, 2014 at 4:23 am #119102Hi,
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
MohammadOctober 10, 2014 at 5:38 am #119116My 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
celesteOctober 10, 2014 at 5:44 am #119119Hi,
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
MohammadOctober 10, 2014 at 10:16 am #119182thnx 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
celesteOctober 10, 2014 at 10:48 am #119196Hi,
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
November 3, 2014 at 8:34 am #124985This reply has been marked as private.November 3, 2014 at 9:24 am #125000Hi
Add this to your custom css:
.sf-icon-box.sf-icon-box-standard { pointer-events: none; }
– Kyle
November 3, 2014 at 11:19 am #125060Hi 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
celesteAttachments:
You must be logged in to view attached files.November 3, 2014 at 11:23 am #125063Try 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
November 3, 2014 at 11:50 am #125085Hi 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
November 3, 2014 at 11:51 am #125086You got a link?
– Kyle
November 3, 2014 at 11:59 am #125087Hi 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
celesteNovember 3, 2014 at 12:01 pm #125088.sf-icon-cont { pointer-events: none; }
– Kyle
November 3, 2014 at 12:05 pm #125090Hi 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 -
Posted in: Dante
You must be logged in to reply to this topic.