Check out the LimeSurvey source code on GitHub!

template.css

More
6 years 1 month ago #55478 by tpartner
I don't see any inline style in your template that would override the stylsheets. I think it's just a matter of selecting the correct element to style and placing the styles in the proper position in the cascade.

Try using Firebug for Firefox to explore the elements of your pages.

There are lots of helpful CSS tips tutorials available online - eg. www.w3schools.com/css/default.asp

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 1 month ago - 6 years 1 month ago #55650 by chupanibre
Thanks for the firebug-tip.
I was able to narrow down my problem; using firebug I was able to retrieve the css-class dealing with the format of my question:
.survey-question-answer {
display:block;
font-weight:400;
margin:0 64px 0 54px;
}

The thing is that I am unable to modify this entry. I changed this class in the template.css using the template editor from limesurvey, but it seems to stays the same. The format of the question does not change, as well as the entry in the .css file displayed in firebug...

That is the reason why I first asked about this; I changed some values in template.css which did not lead to any change in the final version of my questionnaire.
Last Edit: 6 years 1 month ago by chupanibre.

Please Log in to join the conversation.

More
6 years 1 month ago #55656 by tpartner
I don't understand why making changes in the template editor don't change the file.

Try adding the following to the end of template.css as a test:
.survey-question-answer {
    color: red;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: chupanibre

Please Log in to join the conversation.

More
6 years 1 month ago #55661 by Mazi

chupanibre wrote: That is the reason why I first asked about this; I changed some values in template.css which did not lead to any change in the final version of my questionnaire.

Usually CSS files are cached by the browser. You have to reload the complete survey page so that the updated CSS file is loaded by the browser. Pressing (CTRL) + F5 should do the trick.
Using firebug you can then also check if the changes were saved at the template editor.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The following user(s) said Thank You: chupanibre

Please Log in to join the conversation.

More
6 years 4 weeks ago - 6 years 4 weeks ago #55701 by chupanibre
@Mazi: Thanks again for your help, (CTRL) + F5 was the problem ;)
Last Edit: 6 years 4 weeks ago by chupanibre.

Please Log in to join the conversation.

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