Changing fontsize in bootstrap template

Plus d'informations
il y a 9 ans 4 mois #4366 par JaapJan
Changing fontsize in bootstrap template a été créé par JaapJan
Hi,

does anybody knows how to change the fontsize of the titles in the Bootstrap template? I think the titles in the text are far to large and like to change them in a smaller font. I tried some things, but I saw 3 css files and don't know what to do know.

Thanks

JaapJan

Holy cow!

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

Plus d'informations
il y a 9 ans 4 mois #4367 par ronm
Réponse de ronm sur le sujet Changing fontsize in bootstrap template
In recent code this is changeable via the editor e.g. title fields have the small wysiwyg editor. But for now add a styles option and try something like:
Code:
h1 { font-size: 28.5px; }
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
Les utilisateur(s) suivant ont remercié: JaapJan

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

Plus d'informations
il y a 9 ans 4 mois #4368 par JaapJan
Réponse de JaapJan sur le sujet Changing fontsize in bootstrap template
Great! Thanks.

JaapJan

Holy cow!

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

Plus d'informations
il y a 9 ans 4 mois #4377 par JaapJan
Réponse de JaapJan sur le sujet Changing fontsize in bootstrap template
Ron,

I am wondering if it is also possible to change the fontsize in the downloaded document which will be generated by the new Form template. Me and my collegues love the template and are planning to use it often. The fontsize of the titles is far to big, we think.
I tried the trick you sent me for the bootstrap, but that doesn't work

JaapJan

Holy cow!
Pièces jointes :

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

Plus d'informations
il y a 9 ans 4 mois #4378 par ronm
Réponse de ronm sur le sujet Changing fontsize in bootstrap template
Actually the sizes in the downloaded document are affected by two things:
1. the heading tags coded into download.php
2. the default template settings in your version of Word and how it renders those tags/sizes

You could edit your download.php and for instance reduce the sizes by one so change h3 to h4, h2 to h3 and h1 to h2.
When upgrading you would need to reapply those change or protect that file from being changed.

I'll pose the question to the other developers whether we should change those values anyway because they do seem a bit big or perhaps pick up styles from the actual LO. We also hope to add control over whether the download is a Word doc or a pdf and hopefully that will be in the next release.

BTW an organisation I support directly yesterday mentioned that the download button wasn't working when they exported their project and imported into a vle or viewed offline. At the moment this page type requires access to the download.php file to create the document so won't work when exported. So keep that in mind when using this page type. Obviously will work fine when just linked or embedded so if you do need to export your project e.g. for scorm tracking etc then perhaps just create the documentation page(s) as a separate resource and embed into the project you will export. Won't work if there isn't online connectivity but will still work from the vle then because the actual page is still in your xerte install.

HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

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

Plus d'informations
il y a 9 ans 4 mois #4379 par JaapJan
Réponse de JaapJan sur le sujet Changing fontsize in bootstrap template
Hi Ron
thanks for the quick reply and the tip you gave.

JaapJan

Holy cow!

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

Modérateurs: ronmalimcn
Temps de génération de la page : 0.148 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo