For issues related to the current stable release please use it's own Help forum.
IMPORTANT:Please read this before using an git or nightly build version: wiki.webtrees.net/en/GIT

Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: Indicator for surname

Indicator for surname 3 months 2 weeks ago #1

  • WGroleau
  • WGroleau's Avatar
  • Offline
  • Gold
  • Posts: 1523
Since the position of a surname can vary, and since it may be in a script the reader is unfamiliar with, and since some of us are or will be not maintaining SURN and GIVN, …

I propose an admin preference for decoration of the surname. Choices might include bold, italic, underscore, font color, none.
--
Wes Groleau
UniGen.us/
PHP 7.2.15; MySQL 5.6.40; Apache
The administrator has disabled public write access.

Indicator for surname 3 months 1 week ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11357
Surnames are already given special HTML markup.

e.g. "Wes /Groleau/" will be rendered as
<span class="NAME">Wes <span class="SURN">Groleau</span></span>

So, you can easily add styling to surnames using CSS.
.SURN {  font-variant: small-caps }
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
Last Edit: 3 months 1 week ago by fisharebest.
The administrator has disabled public write access.
Powered by Kunena Forum