Bienvenue, Invité
Nom d'utilisateur : Mot de passe :
This Help forum is for issues relates to the latest release (1.7.8). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."
  • Page :
  • 1

SUJET :

FAQ link hover il y a 4 ans 7 mois #1

  • potain
  • Portrait de potain Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • Messages : 95
Hi

Just a quickie.

Added a couple of links to the Wiki in my FAQ, the editor adds an underline to it in Edit mode but when viewing the FAQ it does not appear nor does the text link change colour.

<p><a href="https://wiki.webtrees.net/en/Novice_User_Guide" target="_blank"><span style="color:blue">Novice User Guide</span></a></p>

Can this be adjusted in CSS (webtrees theme) as it affects the FAQ module?

Thank you.
Novice in all webtrees matters and in every respect

Connexion ou Créer un compte pour participer à la conversation.

FAQ link hover il y a 4 ans 7 mois #2

In the webtrees theme the links are not underlined and are red when over.
You can add an underline and red color for the content of the faq by adding these lines to the end of the themes/webtrees/css-1.7.8/style.css file:

.faq_body a {text-decoration: underline}
.faq_body a:hover{color:red}

Connexion ou Créer un compte pour participer à la conversation.

FAQ link hover il y a 4 ans 7 mois #3

  • potain
  • Portrait de potain Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • Messages : 95
Thanks again coutu. Learnt something new once more with your post.

In the webtrees theme the links are not underlined and are red when over.

Yes which why I was surprised that it did when in Frequently asked questions > Edit the FAQ and when you save the FAQ. It must be ckeditor's way of idicating that it is a link.

What was even odder is that adding the text-decoration the underilne changed colour to red but not the text when viewing the FAQ.

Have now higlighted the link while in the editor and chosen Automatic for Text colour, added .faq_body a {color: to match the body color} to the CSS, removed the text decoration and it's working fine when viewing the FAQ (even though there still is an underline in the editor).

Must have been the color span style that caused some problem.

Cheers.
Novice in all webtrees matters and in every respect

Connexion ou Créer un compte pour participer à la conversation.

  • Page :
  • 1
Propulsé par Kunena