Welcome, Guest
Username: Password: Remember me

TOPIC: Different body class

Different body class 6 months 3 weeks ago #104724

  • Pulsor
  • Pulsor's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
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.

Different body class 6 months 3 weeks ago #104738

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6276
  • Thank you received: 801
  • Karma: 241
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:
Last Edit: 6 months 3 weeks ago by DenisChenu.
The topic has been locked.
Moderators: ITEd
Time to create page: 0.154 seconds
Donation Image