Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Adding font options

  • tammo
  • tammo's Avatar Topic Author
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
1 week 4 days ago #265257 by tammo
Adding font options was created by tammo
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.5.3
Own server or LimeSurvey hosting: own
Survey theme/template: custom
==================
6 years ago, there was a forum thread about adding font packages. Has this been developed?

Adding new font - LimeSurvey Forums

I would like to add some fonts for customers


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 3 days ago #265281 by DenisChenu
Replied by DenisChenu on topic Adding font options
It can already be done via theme editor directly ? No ?
You want something with a dropdown ?

In this case : my opinion : do your own dropdown and system (like i do for variation)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar Topic Author
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
1 week 3 days ago #265288 by tammo
Replied by tammo on topic Adding font options
Thank you. Do you have a working example that I can try & evaluate?

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 3 days ago #265296 by DenisChenu
Replied by DenisChenu on topic Adding font options
No,

The idea

1. Put your new fonts in files/fonts directory of theme.
2. Create a dropdown option selector ( something near this ? Never done myself)
3. In an header part : register the needed css file according to choice done : gitlab.com/SondagesPro/SurveyThemes/skel...ws/header/theme.twig (the
Code:
{% set theme = str_replace('image::theme::','',theme) %}
is due to this issue : bugs.limesurvey.org/view.php?id=17858

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose