Welcome to the LimeSurvey Community Forum

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

How to change the width of the survey?

More
9 years 9 months ago #128266 by JJKing
Hi,
I am looking for a easy way to change the width of surveys. How can I do it?
Im using the templat "mint_idea_white".
In any survey I did, it use only the middle of the page. It doesn't work well with long questions...
Thanks a lot!
JJKing
The topic has been locked.
More
9 years 9 months ago #128295 by tpartner
That's a custom template but if it is a knock-off of the core mint_idea template, you can try adding something like this to the end of template.css:

Code:
#layout {
    width: 95%;
    max-width: 1080px;
}

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: delarammahdaviii
The topic has been locked.
More
9 years 9 months ago #128312 by JJKing
Thank you for your help, it's really nice!
It didn't work though... I change those setting in the template.css but the width didn't change.
I guess that my version of LimeSurvey is so old that nothing work much...
Version 1.87+ Build 8518

Thx
JJKing
The topic has been locked.
More
9 years 9 months ago #128318 by tpartner
Yes, very old! Can you activate a link to a test survey using the same template?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
9 years 9 months ago #128320 by JJKing
Yes, and nothing change.
collaborationsmj.org/limesurveysmj/index.php?sid=42244&lang=fr

The width is suppose to be almost as large as the Web page, but it stay the same...
J
The topic has been locked.
More
9 years 9 months ago - 9 years 9 months ago #128322 by tpartner
I don't see that you have added the new CSS rule I provided to the end of template.css.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 9 months ago by tpartner.
The topic has been locked.
More
9 years 9 months ago #128324 by JJKing
You're right! I didn't put it in the good spot and it work perfectly well now,
thanks to you! :D
J
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose