It is generally preferable to put any custom CSS in the local.css file rather than in the survey source. This carries several advantages, chiefly:
- The survey page loads initially with CSS already applied.
- The CSS may be endlessly tweaked, and survey pages should be browser-refreshed to check changes. There is no need to rebuild the survey source.
To modify the local.css file, go to Build > Assets > Files and navigate to the _s directory. Click on the local.css file.
Add your CSS code to this file and click Save. The heading will read "The file content has been saved" if any unsaved edits/additions have been made to the file. IntelliSurvey will then automatically apply the CSS when rendering survey pages.
Note, it may be required to clear your browser's cache when adjusting the local.css file to see the changes rendered in the browser.
Tip! If you prefer to add CSS to your survey theme using a SASS-based system, use build.scss instead. Note, any CSS compiled in build.scss will override styles in local.css.
Comments
0 comments
Please sign in to leave a comment.