- Posts: 23
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
CSS class field in advance setting of question..
- shivani123
- Topic Author
- Offline
- Junior Member
Less
More
7 years 3 months ago #145290
by shivani123
CSS class field in advance setting of question.. was created by shivani123
In advance settings of Question contain one field CSS Class(es) which is used to add extra css to question but i didn't get how to add the css classes where we should declare the class and how to include this classes. can you tell me about this ?
Thank you...
Thank you...
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12713
- Thank you received: 3924
7 years 3 months ago - 7 years 3 months ago #145321
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic CSS class field in advance setting of question..
Here is an example where it is used and explained
www.limesurvey.org/forum/design-issues/1...ions-in-2-x-2-matrix
www.limesurvey.org/forum/design-issues/1...ions-in-2-x-2-matrix
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 3 months ago by Joffm. Reason: link geändert
The following user(s) said Thank You: holch
The topic has been locked.
- shivani123
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 23
- Thank you received: 0
7 years 3 months ago #145342
by shivani123
Replied by shivani123 on topic CSS class field in advance setting of question..
i get some hint from this example but i didn't understand where should i write this class so that it will apply css for that part of question...
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12713
- Thank you received: 3924
7 years 3 months ago - 7 years 3 months ago #145357
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic CSS class field in advance setting of question..
Hi, shhivani,
But it's said explicitly in Tony's answer :
Otherwise read about template editor, here:
manual.limesurvey.org/The_template_editor
Best regards
Joffm
But it's said explicitly in Tony's answer :
In the advanced question settings, you can define a CSS class for the questions. Let's say "my-slider-question" for the sliders and "my-text-question" for the long-texts.
Then in template.css, you can apply styles to the questions something like this. It should place them side-by-side.
.my-slider-question {
float: left;
width: 32%;
margin-right: 2%;
clear: left;
}
.my-text-question {
float: left;
width: 65%;
}
Otherwise read about template editor, here:
manual.limesurvey.org/The_template_editor
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 3 months ago by Joffm. Reason: Typo
The following user(s) said Thank You: holch
The topic has been locked.
- shivani123
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 23
- Thank you received: 0
7 years 3 months ago #145368
by shivani123
Replied by shivani123 on topic CSS class field in advance setting of question..
thank you...
The topic has been locked.