Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Change dialog area background for File Upload type question

  • danika
  • danika's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 7 months ago - 7 years 7 months ago #139562 by danika
Hello,

On File Upload questions the default background (where allowed file types are listed) is white (#fff;). Can you tell us which Style sheet is this linked to so that the background color can be changed, and under which class or ID can this question type be found?

Thanks.
Last edit: 7 years 7 months ago by danika.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 7 months ago #139574 by tpartner
Not without knowing what LimeSurvey version and template you are using.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 7 months ago #139579 by Joffm
Hi, danika,
as Tony said, without any knowledge it's difficult.

But assuming you are working with LS 2.50 and you have access to the webserver, in folder "styles-public" there is "uploader.css"
As you see changes here affect ALL templates.

The background you can change in class "body.uploader"
Code:
body.uploader {
    padding: 1em;
    background-color: #63B8FF;   // Added by me
}
see screenshots.

Remember: This file affects ALL templates. So be careful.

Probably you can enter this css-snippet in "template.css" or directly in the question text. But here I was not succesful.

Kind regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: danika
The topic has been locked.
  • danika
  • danika's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 7 months ago #139598 by danika
Hi Joffm,

Thank you, and I've been searching through all the css for this without any success! That was it, however, my experience was opposite of yours. It worked in the template.css and not in the uploader.css.

The version was 2.50+.

All the best.

Cheers!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose