Please help us help you and fill where relevant: Your LimeSurvey version: LimeSurvey Community Edition Version 6.17.13+260728 Own server or LimeSurvey hosting: Own server Survey theme/template: all
==================
Hi,
we have quiet a few support tickets from our customers wanting to change little things (like text-color) in the given themes. Because we have a company-wide theme we do not want this theme to be changed globally. Is there a way to implement for example an Custom CSS Field to the Bootstrap Vanilla Theme in the survey settings, which allow the customer to edit certain things like the color of the text for the token input. A good example would be the editing menu for the Respondage_Vanilla theme. Thank you in advance for your help!
You are free to add desired options to the Theme-Options.
In the config.xml of your theme you find the section <options>
Code:
<!-- You can add here any option you want. It will be available in twig file via aSurveyInfo.options.youroptionname --><options><hideprivacyinfo type="buttons" category="Simple options" width="4" title="Hide privacy info" options="on|off" optionlabels="Yes|No">off</hideprivacyinfo><container type="buttons" category="Simple options" width="4" title="Survey container" options="on|off" optionlabels="Yes|No">on</container>.....
As example I show the "headerbackgroundcolor"
config.xml:
then you get this in the "theme options"
and in the twig file you see how it is implemented
This way you can offer your uses several options to adapt in their surveys.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless