Report any technical problems you discover and discuss solutions.
Glossary - backgroundcolor Info bubble
Moins
Plus d'informations
Messages : 17
Remerciements reçus 0
il y a 9 mois 1 semaine #9627
par Martens
If you create a glossary, you can display the meaning of a word in a info bubble when hovering over it.
How can I change the background color of the bubble? What is the CSS code for this?
Connexion ou Créer un compte pour participer à la conversation.
Moins
Plus d'informations
Messages : 1364
Remerciements reçus 344
il y a 9 mois 1 semaine #9628
par tom
The hover itself has id x_glossaryHover but the colors are set on the class x_tooltip by default. So this should do the trick:
.x_tooltip {
border: 1px solid #937184;
background-color: #937184;
}
Connexion ou Créer un compte pour participer à la conversation.
Moins
Plus d'informations
Messages : 17
Remerciements reçus 0
il y a 9 mois 4 heures #9633
par Martens
It is not working. I've tried adding !important, but it still doesn't work.
.x_tooltip {
border: 1px solid #937184 !important;
background-color: #937184 !important;
}
Connexion ou Créer un compte pour participer à la conversation.
Moins
Plus d'informations
Messages : 1364
Remerciements reçus 344
il y a 9 mois 7 minutes #9635
par tom
A question that I should have started wit, is this in the Nottingham/xot template or the bootstrap? The example should work for Nottingham/xot.
Connexion ou Créer un compte pour participer à la conversation.
Moins
Plus d'informations
Messages : 17
Remerciements reçus 0
Moins
Plus d'informations
Messages : 1364
Remerciements reçus 344
il y a 8 mois 4 semaines #9638
par tom
Ok then
You can use
.glossaryTip {
border: 1px solid #937184;
background-color: #937184;
}
Les utilisateur(s) suivant ont remercié:
Martens
Connexion ou Créer un compte pour participer à la conversation.
Modérateurs: ronm , julten , JohnSmith