Creating a New Theme

Creating a New Theme

To create a new theme in LimeSurvey, users need the Themes permission along with file system access on the server hosting the installation.

Before You Start

Theme development is advanced work, requiring knowledge of HTML, CSS, Twig, and JavaScript. Keep in mind, too, that once a theme is in use, editing it can affect every pre-existing survey that relies on it.

Recommended Approach

Use the Theme Editor, accessible via ConfigurationAdvancedThemesTheme editor.

Extend an existing theme rather than starting from nothing. To create a new theme, select an existing core theme as the parent in the Theme Editor. Your new theme inherits the parent theme's templates, styles, and scripts, so you override only the files you want to customize while the rest stays maintained by the parent theme.

Apply your theme to a survey

After creating your custom theme, open the survey, go to Settings → General → Theme, and select your new theme from the list. The survey then uses your custom theme and its inherited settings.

Self-hosted installations: file system notes

The following applies only to self-hosted installations. On LimeSurvey Cloud you create and manage themes through the Theme Editor and never need file system access.

Self-hosted, the Theme Editor generates the theme structure in the LimeSurvey_web_root/upload/themes/survey/your_new_theme directory, and developers can edit those files with an external text editor. On Unix/Linux systems, theme files must remain owned by the web server user — if an external editor changes ownership, the web interface can no longer edit them.

Related Resources

    • Related Articles

    • The LimeSurvey Theme Editor

      Overview The Theme Editor functionality in LimeSurvey is restricted to users with theme permissions and super-administrators. Users should exercise caution when editing themes, as an incorrectly constructed theme can make any survey that uses it ...
    • Admin Themes

      Overview The Admin Themes feature in LimeSurvey enables customization of the application's appearance. Location Access admin theme settings by navigating to: Configuration → Advanced → Themes → Admin themes. Available Options The Admin themes tab ...
    • Insert Custom CSS or JavaScript Files for Template

      Insert Custom CSS or JavaScript Files for Template Work on your own theme, not a built-in one. Create a new theme or extend an existing one first — LimeSurvey updates can overwrite changes made directly to a built-in theme. See Creating a New Theme. ...
    • Advanced theme customization (theme editor and CSS)

      For everyday styling — colors, fonts, background image, corner radius — use the built-in theme options first. Those settings live in the survey editor under Presentation → Theme options and are covered in Presentation and theme options. This article ...
    • Custom Question Views (New in 3.0 )

      Custom question views (New in 3.0 ) Note: This is a temporary feature to be replaced in the future by question object (it will be very easy to move custom views to question object). It is disabled by default. As of version 2.5, you can create ...