How to style numeric questions with suffix like in old version?

More
1 year 8 months ago #133117 by Yka
Yka created the topic: How to style numeric questions with suffix like in old version?
Hey guys,

sorry for asking so much things, but I need to know a few things..

I did the update to version 2.50+.
After that I've noticed that numeric questions with suffix look different.
Before they looked like this e.g.



In ls 2.50 they are text inputs with 100% width and the '%' is in the next row.
I've changed it so that the input box is smaller and the '%' is in the same row.



But now the output for the same question in version 2.50+ after my changes is like:




Is it possible to have the questions look like the old version?
Label left, text box right

Thank you.
Attachments:

Please Log in to join the conversation.

More
1 year 3 months ago #141386 by mceconseils
mceconseils replied the topic: How to style numeric questions with suffix like in old version?
Hi,

I have the same issue. Is there a solution for this?

Thanks.

Please Log in to join the conversation.

More
1 year 3 months ago #141389 by holch
holch replied the topic: How to style numeric questions with suffix like in old version?
The solution is probably updating, because this issue should have been fixes long time ago.

What is your LS version and which template are you using?

Just tested in the latest release with the Ubuntu Orange template and it works just fine:


I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Attachments:

Please Log in to join the conversation.

More
1 year 3 months ago #141390 by mceconseils
mceconseils replied the topic: How to style numeric questions with suffix like in old version?
You are right, my issue is with short text answers... Not the same question type! I opened a log in the bug tracker system for it.

Please Log in to join the conversation.

More
1 year 2 months ago #142775 by imoullet
imoullet replied the topic: How to style numeric questions with suffix like in old version?
Hello
I still have the same problem with the last version Version 2.53+161004
Is that solved or not ? I do not find this in the bug tracker

Thanks for your info

Please Log in to join the conversation.

More
1 year 1 month ago #144041 by imoullet
imoullet replied the topic: How to style numeric questions with suffix like in old version?
Is this problem solved ? Thanks for any info

Please Log in to join the conversation.

More
1 year 1 month ago - 1 year 1 month ago #144133 by tpartner
tpartner replied the topic: How to style numeric questions with suffix like in old version?
Yes, it is fixed in 2.55.2.


Looks like it may need some styling though. Maybe something like this at the end of template.css:
.question-item.withprefix.withsuffix input.form-control {
	display: inline-block;
	width: auto;
	margin: 0 0.5em;
}

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last Edit: 1 year 1 month ago by tpartner.

Please Log in to join the conversation.

More
1 year 1 month ago #144182 by imoullet
imoullet replied the topic: How to style numeric questions with suffix like in old version?
In fact that does not solve my problem. In my case I use Numerical input question type not multiple numerical input.
Everything is fine for multiple..
Attachments:

Please Log in to join the conversation.

More
1 year 1 month ago #144211 by tpartner
tpartner replied the topic: How to style numeric questions with suffix like in old version?
Try this for the CSS:

.answer-item.withprefix.withsuffix input.form-control {
	display: inline-block;
	width: auto;
	margin: 0 0.5em;
}

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
1 month 1 week ago - 1 month 1 week ago #160157 by MrVodoo
MrVodoo replied the topic: How to style numeric questions with suffix like in old version?
I've the same problem. Unfortunately the template workaround doesn't solve the problem. Do you have any other suggestions?
Last Edit: 1 month 1 week ago by MrVodoo.

Please Log in to join the conversation.

More
1 month 1 week ago #160160 by Joffm
Joffm replied the topic: How to style numeric questions with suffix like in old version?
Well, the best way is to use a multiple numeric question with just one subquestion and blank subquestion text.

That's easy, and you do not have to wait for a solution.



Regards
Joffm
Attachments:
The following user(s) said Thank You: MrVodoo

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!