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?

  • JJKing
  • JJKing's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 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.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 11 months ago #128295 by tpartner
Replied by tpartner on topic How to change the width of the survey?
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.
  • JJKing
  • JJKing's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #128312 by JJKing
Replied by JJKing on topic How to change the width of the survey?
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.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 11 months ago #128318 by tpartner
Replied by tpartner on topic How to change the width of the survey?
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.
  • JJKing
  • JJKing's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #128320 by JJKing
Replied by JJKing on topic How to change the width of the survey?
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.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 11 months ago - 8 years 11 months ago #128322 by tpartner
Replied by tpartner on topic How to change the width of the survey?
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: 8 years 11 months ago by tpartner.
The topic has been locked.
  • JJKing
  • JJKing's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #128324 by JJKing
Replied by JJKing on topic How to change the width of the survey?
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