Changing fontsize in bootstrap template

  • JaapJan
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
9 jaren 4 maanden geleden #4366 door JaapJan
Changing fontsize in bootstrap template werd gestart door 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!

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 4 maanden geleden #4367 door ronm
Beantwoord door ronm in topic 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/
De volgende gebruiker (s) zei dank u: JaapJan

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • JaapJan
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
9 jaren 4 maanden geleden #4368 door JaapJan
Beantwoord door JaapJan in topic Changing fontsize in bootstrap template
Great! Thanks.

JaapJan

Holy cow!

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • JaapJan
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
9 jaren 4 maanden geleden #4377 door JaapJan
Beantwoord door JaapJan in topic 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!
Bijlagen:

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 4 maanden geleden #4378 door ronm
Beantwoord door ronm in topic 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/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • JaapJan
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
9 jaren 4 maanden geleden #4379 door JaapJan
Beantwoord door JaapJan in topic Changing fontsize in bootstrap template
Hi Ron
thanks for the quick reply and the tip you gave.

JaapJan

Holy cow!

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmalimcn
Tijd voor maken pagina: 0.140 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo