Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Insert picture to the left of the question

Insert picture to the left of the question 8 months 3 weeks ago #128159

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6134
  • Thank you received: 1363
  • Karma: 535
I asume there is no other solution.
Yes, you can use the question IDs in the CSS but it's considerably more painful with a lot of questions.

So, if your IDs are:
- Text-display question - 11111
- Array question - 22222
- Dropdown question - 33333

Something like this:

/**** Custom Styles ****/
 
.question-wrapper {
	clear: both;
}
 
#question11111 {
	float: left;
	width: 33%;
	clear: left;
}
 
#question22222,
#question33333 {
	float: right;
	width: 66%;
	clear: right;
}
 
#question11111 .answers-wrapper,
#question11111 div.question-help {
	display: none;
}
 
#question11111 .question-text img {
	max-width: 100%;
	height: auto;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
The following user(s) said Thank You: biba

Insert picture to the left of the question 8 months 2 weeks ago #128232

  • biba
  • biba's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
It worked out really well! Thank you so much!!!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.546 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form