1

I have an issue about jqueryUI tooltip..

In fact, impossible to change the css style of the class .ul-tooltip. . specially on firefox.

In more, even on the offical website.. On the demo : https://jqueryui.com/tooltip/#custom-style

When I look the style on firefox and on chrome, the style are different.

I try to override the css

.ui-tooltip {
  background: #fcfcfa !important;
  color: #86c724 !important;
  border: 1px solid #86c724 !important;
  border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  padding: 10px !important;
  -webkit-box-shadow: 0 0 5px  rgba(0,0,0,0.25);
          box-shadow: 0 0 5px  rgba(0,0,0,0.25);
}

but no result.

I try to add a new class and manage style by it.. no result

  <script>
  $(function() {
    $( ".infoboxcontainer" ).tooltip({
      tooltipClass: "myNewClass"
    });

  });
  </script>

No idea what happen.. it's like if firefox add is own css for tooltip.

7
  • have you included reset css ? Commented Oct 21, 2015 at 12:56
  • jsfiddle.net/Lpk0uxjL it seems to work fine for me Commented Oct 21, 2015 at 12:58
  • Are you also using bootstrap? Commented Oct 21, 2015 at 13:00
  • Thank's for your help, .. @Jacob I try your link.. but I get the same result : i62.tinypic.com/11twrkm.png Commented Oct 21, 2015 at 13:16
  • @Carlo - I have added the reset css, but no change.. - Commented Oct 21, 2015 at 13:18

2 Answers 2

1

Thank's for your help of all.

I found the solution.. it was from a Firefox extention.. When the Avast Online Security extention is enable, it create this issue and replace the css of the tooltip..

Sign up to request clarification or add additional context in comments.

Comments

0

Try including this css file before all other css :

http://meyerweb.com/eric/tools/css/reset/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.