Welcome, Guest
Username: Password: Remember me

TOPIC: Customizing background image on survey list page

Customizing background image on survey list page 3 years 2 months ago #62222

  • pbackx
  • pbackx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Thank you received: 1
  • Karma: 1
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: 3 years 2 months ago by pbackx.
The administrator has disabled public write access.

Re: Customizing background image on survey list page 3 years 2 months ago #62228

  • pbackx
  • pbackx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Thank you received: 1
  • Karma: 1
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 administrator has disabled public write access.
The following user(s) said Thank You: maheya

Re: Customizing background image on survey list page 3 years 4 weeks ago #64037

  • maheya
  • maheya's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Gracias!!! me ha ayudado tu respuesta aùn después de tanto tiempo.

Saludos

Thank's!!!!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.176 seconds
Donation Image