Theme options

LimeSurvey 3 introduces a complete new template engine system, based on Twig 1.29 and Bootstrap, and allowing template inheritance and template options.

=Introduction=

LimeSurvey 3 contains a new feature called theme options that offers a set of various tools that allow the survey administrators to quickly and easily change the themes-related settings of their surveys.

=Theme options panel=

Access the new theme options feature from the survey settings:



The toolbar of the panel contains two tabs: the simple and advanced options of the theme editor.

Simple options
Once accessed, the following page will be loaded:



The simple options tab is preselected. The most important survey theme settings can be changed from here:


 * Inherit everything: If the yes button is selected, all the theme configurations will be inherited from the global configuration level. If you click no and click on the Save button located in the upper right part of the screen, more theme configuration options will be displayed. Each of these options can be set to:
 * inherit the survey group theme configurations - inherit (unless unchanged, your survey theme will inherit the global theme configuration);
 * not inherit any global theme configuration - no;
 * or enable another configuration - yes. The theme settings can be configured as you wish if this option is chosen. You can observe that each theme setting allows you to select the inherit value.


 * Theme fonts: Select the font you wish to use for your theme;
 * Theme variations: Select one of the available theme variations from the dropdown list. It changes the font and the icons colour.

No inheritance
As mentioned above, you can choose from the survey settings menu not to inherit the global theme configuration. Once you click on the Save button, more options will be displayed:




 * Ajax mode: If enabled, the survey page will be loaded faster via ajax (recommended for the average LimeSurvey user). If disabled, the page will be loaded via page reload, which is better for debugging purposes;
 * Survey container: If yes is selected, the survey will be displayed in a container - its width is limited. This option is useful if your survey participants complete your survey from their mobile phones or tablets because the survey width is controlled. Therefore, it is more comfortable for your respondents because they will not have to scroll right anymore to read the whole question or to see all the answer options. If the survey is embedded in a blog and/or forum, you can also deactivate this option since they already use a certain width.
 * Question borders: If enabled, each question will be shown within a border. If set to no, the questions will not be contained in a box (so you can use large array question types that are bigger than the screen width);
 * Question shadow: If enabled, a shadow will be displayed around the in(visible) question borders.




 * Background color: Select the background colour of the whole question, including the answers;
 * Font color: Change the font color by selecting from the popup menu the desired color.
 * Question background color: Change the question background color by selecting from the popup menu the desired color.
 * Check icon: This setting allows you to select the desired check icon when multiple choice question types are employed.




 * Background image: If set to no, you may select a different background image from the one used within your survey group and/or global theme settings. You may also upload a personalised survey background image by clicking on the upload button located in the bottom of the theme settings panel and selecting the desired image from your computer;
 * Brand logo: If set to no, the name of the survey will be shown in the top bar, else, you can select one of the pictures inside the file directory to be used as logo picture.




 * Animate body: If set to yes, you can choose one of the animations to apply when the "body" of the survey is loaded;
 * Animate question: If set to yes, you choose one of the animations to apply to your survey questions when they are loaded.
 * Animate alert: If set to yes, your survey alerts (when the survey data is not recorded or the wrong token is typed in) will be animated according to the selected animation option.
 * Animate checkbox: If set to yes, anytime you check an answer option, the animation is triggered.
 * Animate radio buttons: If set to yes, anytime you select an option from a radio-type question, the animation is triggered.




 * Fruity fonts: Select the font you wish to use for your theme;
 * Fruity variations:Select one of the available theme variations from the dropdown list. It changes the font and the icons colour.




 * Upload: Browse your computer to upload an image to be used as logo or background image for your theme. Writing permissions might be requested on the "/themes/survey/fruity/files" folder - the location where the uploaded images will be stored in your LimeSurvey installation.