Different body class

More
3 years 3 months ago #104724 by Pulsor
Pulsor created the topic: Different body class
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
3 years 3 months ago - 3 years 3 months ago #104738 by DenisChenu
DenisChenu replied the topic: Different body class
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).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 3 years 3 months ago by DenisChenu.
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now