Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Changing fontsize in bootstrap template 7 years 8 months ago #4366

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 115
  • Thank you received: 1
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!

Please Inloggen or Create an account to join the conversation.

Changing fontsize in bootstrap template 7 years 8 months ago #4367

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
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:
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/
The following user(s) said Thank You: JaapJan

Please Inloggen or Create an account to join the conversation.

Changing fontsize in bootstrap template 7 years 8 months ago #4368

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 115
  • Thank you received: 1
Great! Thanks.

JaapJan
Holy cow!

Please Inloggen or Create an account to join the conversation.

Changing fontsize in bootstrap template 7 years 8 months ago #4377

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 115
  • Thank you received: 1
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!
Attachments:

Please Inloggen or Create an account to join the conversation.

Changing fontsize in bootstrap template 7 years 8 months ago #4378

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
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/

Please Inloggen or Create an account to join the conversation.

Changing fontsize in bootstrap template 7 years 8 months ago #4379

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 115
  • Thank you received: 1
Hi Ron
thanks for the quick reply and the tip you gave.

JaapJan
Holy cow!

Please Inloggen or Create an account to join the conversation.

  • Page:
  • 1
Moderators: alimcnronm
Time to create page: 0.051 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search