Welcome to the LimeSurvey Community Forum

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

Ranking question - columns reversed

  • kpatch
  • kpatch's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #145961 by kpatch
Ranking question - columns reversed was created by kpatch
Hello:

When I preview my ranking question, the columns are switched--Ranking on left, choices on the right. See included screenshot. This wouldn't matter except that instructions (help/tip) are part of the question. It would be a hack to just hide the tip.

Any thoughts on this would be greatly appreciated.

Patrick
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #145965 by DenisChenu
Replied by DenisChenu on topic Ranking question - columns reversed
github.com/LimeSurvey/LimeSurvey/commit/...fb2c512cb373464e0a54

You can set it in template.css too (force)
Code:
:dir(ltr) .dragDropTable .columns2{float:left}
I know you use Firefox 50 (or more) : you made a good choice ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • kpatch
  • kpatch's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #145973 by kpatch
Replied by kpatch on topic Ranking question - columns reversed
Thanks Denis. I made the recommended changes but it had no effect. I really don't know enough about CSS to know if I've actually made a change.

Here's the recommended code:

.dragDropTable .columns2{width:50%;float:left;margin:0;padding:0;
*width:49%;/* IE7 round up, all other round down */
}
-:dir(ltr) .dragDropTable .columns2{float:right}
+:dir(rtl) .dragDropTable .columns2{float:right}
.dragDropTable .clear{clear:both}

Here's my code:
.dragDropTable .columns2{width:50%;float:left;margin:0;padding:0;
*width:49%;/* IE7 round up, all other round down */
}
-:dir(ltr) .dragDropTable .columns2{float:right}
+:dir(rtl) .dragDropTable .columns2{float:right}
.dragDropTable .clear{clear:both}


Any idea what I did wrong?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #145975 by tpartner
Replied by tpartner on topic Ranking question - columns reversed
Try this:

Code:
.dragDropTable .columns2 {
  width:50%;
  float:left;
  margin:0;
  padding:0;
  *width:49%;/* IE7 round up, all other round down */
}
 
.dragDropTable .clear {
  clear:both
}
 
:dir(ltr) .dragDropTable .columns2 {
  float:left
}
 
:dir(rtl) .dragDropTable .columns2 {
  float:right
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #145977 by DenisChenu
Replied by DenisChenu on topic Ranking question - columns reversed
Don't copy paste a diif : a diff is a diff :P

My recommanded code :

DenisChenu wrote: You can set it in template.css too (force)

Code:
:dir(ltr) .dragDropTable .columns2{float:left}


Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose