Closed DiegoMRivera closed 10 years ago
Hello, include the theme css file.
Hello, Thanks for your quick answer,. I do have the themes folder included in my css folder. If you could be more specific about where should I put the themes css file? Maybe I'm missing something, I would really appreciate if you could help me with it, I downloaded the files from your gitHub
The themes are separate css files, they must be included in the head part of your page as well. Judging by the code you provided above, you only included /static/css/tooltipster.css.
Check the source of the demo if you need an example.
Oh, take a close look at you wrote :
$(document).ready(function() { $('.tooltip').tooltipster(); theme: 'tooltipster-shadow'; });
In your guide you wrote
Activate Tooltipster
$(document).ready(function() {
$('.tooltip').tooltipster();
});
Customizing Your Tooltipster's Style
$('.tooltip').tooltipster({ theme: 'tooltipster-noir' });
Obviously, I'm missing something! Désolé :-( Tell me what I'm doing wrong bro, merci
You wrote $('.tooltip').tooltipster(); theme: 'tooltipster-shadow';
instead of $('.tooltip').tooltipster({theme: 'tooltipster-shadow'});
This should be ok then?
- <script type="text/javascript">
- $(document).ready(function() {
$('.tooltip').tooltipster({theme: 'tooltipster-shadow'});
});
- </script>
This is my code:
<!DOCTYPE html>
```HTML
I tried several ways like using the uncompressed jquery.tooltipster.js instead on the compressed one; adding a semicolon after "theme: 'tooltipster-light'" I did add the theme to the css file... same problem. Any help would be greatly appreciated