Check out the LimeSurvey source code on GitHub!

Customizing background image on survey list page

More
5 years 8 months ago - 5 years 8 months ago #62222 by pbackx
Hey all,
I recently got into templating LimeSurvey. Up until now, it's all been smooth sailing, but now I've encountered an issue.

On the survey list page (the one you see if you simply surf to /limesurvey/index.php) it appears I cannot customize the body background-image element. LimeSurvey itself always adds this inline on the page:
<style type="text/css">
body {
    background-image: url(http://localhost/limesurvey/upload/templates/mytemplate/gradient2.gif);
}
</style>
Is there any way to disable this? I tried deleting the gradient file, but this just gives me a white background instead of the one I specified in CSS.
Last Edit: 5 years 8 months ago by pbackx.

Please Log in to join the conversation.

More
5 years 8 months ago #62228 by pbackx
In the meantime, I figured it out myself.

If any one is looking for this: There is a separate template for the survey list page that I missed. It wasn't part of my template so it fell back on the default, which has the above piece of code in it.

The template name is surveylist.pstpl

So I added this to my template and can now edit the background for a survey list.
The following user(s) said Thank You: maheya

Please Log in to join the conversation.

More
5 years 6 months ago #64037 by maheya
Gracias!!! me ha ayudado tu respuesta aùn después de tanto tiempo.

Saludos

Thank's!!!!

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form