Forum Support

Shape 5
March 28, 2024, 02:25:51 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: color ionicons  (Read 23179 times)
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« on: December 29, 2015, 02:32:18 PM »

Hi, when you want to another color icon, just add something like in the css file :

Quote
.custom-icon-blue {
  font-size: 64px;
  color : blue;
}

and add :

Quote
<i class="icon ion-home custom-icon-blue">

Will that work ?
Logged
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« Reply #1 on: December 29, 2015, 02:42:23 PM »

Never mind, added it to custom css and  it works, also with hex-code as color Grin
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #2 on: December 30, 2015, 08:07:41 AM »

Hello,

Yes, I was going to say, probably use a hex color instead. Not all browsers use the same "blue" color.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« Reply #3 on: February 04, 2016, 03:17:34 AM »

Hi, how to add a class when I want to make the hover color #8ac34e ?

So the hover color must turn green. (hex above)

Normal:

Quote
<div class="icon_outer_wrap">
<div class="icon_hover">
<a href="" class="ion-link icon_element">[/url]
</div>
<div class="icon_non_hover">
<span class="ion-headphone icon_element"></span>
</div>
</div>

Thanks in advance
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #4 on: February 04, 2016, 08:29:56 AM »

Hello,

You would just add :hover to it:

.custom-icon-blue:hover {
color:#8ac34e;
}

The :hover call goes on whatever element you want to trigger the color change.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« Reply #5 on: February 04, 2016, 09:34:33 AM »

ok, thx
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.