Fonts Idea...

If you've programmed a new HuMo-genealogy feature (that you'd like to see included in the official version), please upload and describe your work here.
Post Reply
Jfk105
Posts: 25
Joined: Fri 12 Oct 2018, 22:12

Fonts Idea...

Post by Jfk105 »

On my local site I've modified Css to imprt google web font...
But would be a nice idea have a Google Web Font Switcher (pretty much the theme switcher) to allow users choose and apply favorite fonts to the theme.
I found some jquery that performs the choice but I don't know how to force the insertment into css file...
Thanks, Gianfranco (J)
User avatar
Huub
HuMo-genealogy programmer
HuMo-genealogy programmer
Posts: 2692
Joined: Wed 27 Aug 2008, 11:34
Location: Heerhugowaard, Netherlands
Contact:

Re: Fonts Idea...

Post by Huub »

Gianfranco,

HuMo-gen uses several CSS files:

1) The main CSS file, located in the HuMo-gen root, named: gedcom.css

2) The CSS theme files. If a CSS theme is selected, this theme file will overwrite the settings that are the same as in gedcom.css.
The theme CSS files are located in folder: styles.

It is very easy to add some new themes. Just copy an existing theme CSS file and folder (if needed) to a new CSS file and new folder.
Just an idea: it's possible to add some new themes including new font styles.

Unfortunately not all CSS codes in HuMo-gen are allready added in these CSS files. So it's possible that some CSS items can't be changed (because we used inline CSS codes). If needed we change this in future HuMo-gen versions.
HuMo-genealogy update? Backup your database! Editing in HuMo-genealogy? Backup your data!
Make multiple backups with: PHPMyAdmin, gedcom export and database export.

HuMo-genealogy software: http://humo-gen.com
Post Reply