Check out the LimeSurvey source code on GitHub!

Different body class

More
2 years 11 months ago #104724 by Pulsor
Hello Everyone,

I'm new here. I posted this on the Design section too, since I don't know where to put it exactly.


I need to know if there's a way to add a code in the
<body class="default lang-{SURVEYLANGUAGE} {SURVEYFORMAT}">
(the body class line of startpage.pstpl).

What I'm trying to accomplish is to add different backgrounds: in the welcome page, question pages, and in the endpage.

If the answer's no, please be sure that the 'no' is definitive.


Thanks in advance guys!
The topic has been locked.
More
2 years 11 months ago - 2 years 11 months ago #104738 by DenisChenu
Hi,

No included word for this. Can be done only in javascript :
welcome.pstpl, add:
<script>$("body").addClass('welcome');</script>
etc for the other.

Crossposting :angry:

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 2 years 11 months ago by DenisChenu.
The topic has been locked.
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form