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

TOPIC:

FAQ link hover 3 years 11 months ago #1

  • potain
  • potain's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 90
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

Please Log in or Create an account to join the conversation.

FAQ link hover 3 years 11 months ago #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}

Please Log in or Create an account to join the conversation.

FAQ link hover 3 years 11 months ago #3

  • potain
  • potain's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 90
Thanks again coutu. Learnt something new once more with your post.

coutu wrote: 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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum