Using Font Awesome & Tooltipster together

Hi Experts,

I've been trying to use Font Awesome and Tooltipster with no luck. I'd like Tooltispter's tooltips to show up when I hover over a Font Awesome icon. I've tried variations of the code below, but the FA icon always disappears:

<span class="fa fa-question-circle tooltip" title="Put some text here to describe what this graph means and how to interpret it. Can you add html text formatting?"></span>

Open in new window


Thanks,

Tom
TaSchmAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SSupremeCommented:
Have a look: https://jsfiddle.net/ssupreme/L0ad7pu6/
It works fine.
0
TaSchmAuthor Commented:
What's weird then is it won't work in this web app: https://gallery.shinyapps.io/087-crandash/. Note, this is not the exact same web app I'm working with but very similar. The only way I can even get them to show up at the same time is with something like this:

<div class="box-header">
   <h3 class="box-title">Yearly Default Hazard Plot</h3>	
   <span class="fa fa-question-circle"></span>
   <span class="fa fa-question-circle tooltip" title="This is my div's tooltip message!"></span>
</div>

Open in new window


For whatever reason they don't like being together.
0
SSupremeCommented:
I cannot see your project so I cannot tell why it isn't, but I can guess it's because of z-index and layers. This box can be underneath of other elements. Add :hover rule to span and apply some kind of background color to check whether it can be hovered.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

TaSchmAuthor Commented:
Okay, I'm almost there. It was the .tooltip font that was overriding the icon.

.tooltip {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

Open in new window


Do you know how to turn the font off or have the icon override it in the above code?
0
TaSchmAuthor Commented:
Slight correction:

.tooltip {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  opacity: 0;
}

Open in new window


Looks like both of these need to be turned off. Another thing I need to consider is I don't want to break the font, etc. for the tooltips.
0
SSupremeCommented:
Use !important to override all other styles.
p {color: #000 !important;
font-size: 12pt !important;
}
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.