Page 1 of 1
"Contents" data in website generation
Posted: 07 May 2017 18:28
by RogerF
When generating a website, I thought I'd use the ability to include a GEDCOM-download link, which adds a Contents section to the home page. Try as I might, I can't find out how to control the presentation (font, alignment, etc) of the Contents section, which currently stands out like a sore thumb. As always, apologies if I've failed to find the information in the FH Help or the FHUG Knowledge Base.
Re: "Contents" data in website generation
Posted: 07 May 2017 19:43
by Valkrider
Roger
I don't generate my website using FH so this may be out of left field.
Changing presentation is usually handled with CSS (Cascading Style Sheets). You just target the element and create your own style for it (font size colour etc).
If you want to post a link I can give you some pointers or you can wait and see if someone comes up with an alternative suggestion.
Re: "Contents" data in website generation
Posted: 08 May 2017 09:41
by tatewise
FH does not provide any wizard options to customise its generated web pages, and as Colin says needs your own CSS file.
See how_to:make_family_tree|> Make a Family Tree CD/DVD or Website and in particular how_to:make_family_tree:tips_and_tricks_and_popups|> Family Tree ~ Tips and Tricks and Popups and there see how_to:make_family_tree:alter_css_default_styles|> Family Tree Tips ~ Alter CSS Default Styles that explains how to incorporate your CSS file, where to find the FH CSS file, and advice on CSS tutorials.
Whether the necessary CSS script is easy for you to construct or not, depends of what styles FH has coded, and how familiar you are with CSS.
Re: "Contents" data in website generation
Posted: 08 May 2017 11:06
by RogerF
Thanks, Colin and Mike. Re-learning CSS at my age is too much hassle; I'll find another approach.
Re: "Contents" data in website generation
Posted: 08 May 2017 11:52
by Valkrider
Roger
No need to re-learn, I can probably give you the code you need in a few minutes of looking at your site. CSS is something that I work with regularly.
Let me know the url and what you want changed and what you would like it to look like either here or by PM.