Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: change the radio button in horizontal layout

change the radio button in horizontal layout 4 Jahre 10 Monate her #41490

  • chinglnc
  • chinglncs Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Karma: 0
Hi

The current radio button format is in vertical layout, how do I change it to horizontal layout?

Thanks in advance

C
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41492

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4571
  • Dank erhalten: 896
  • Karma: 401
Add the following to the end of template.css:
.list-radio ul li {
    display: inline;
    padding: 0 2em 0 0;
    margin-left: 0;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41493

  • chinglnc
  • chinglncs Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Karma: 0
Hello

I can't find the Template Editor on my administration page, could you guide me where should I find this setting?

Or is this something that I have to ask the Main Administrator (the one who installed Limesurvey) to enable it?

Please advise.

p.s. I'm using v1.87

Thanks.

C
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41494

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4571
  • Dank erhalten: 896
  • Karma: 401
Yes, your super-admin will need to give you the right to "Manage template".
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41535

  • chinglnc
  • chinglncs Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Karma: 0
Hello

I have edited the template, how should I activate/use the new template instead of the default one?

C
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41537

  • jelo
  • jelos Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 530
  • Dank erhalten: 53
  • Karma: 16
Didn't you asked the same in the chat? Always better to ask in forum. That helps others too.

For every survey you can set the template via:
Edit survey settings - Step 1 of 2 -> Presentation & navigation -> Template.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41539

  • chinglnc
  • chinglncs Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Karma: 0
Hi

Thanks for the notes, I will post in the forum instead.

I copied the default template and renamed it, however the renamed version
doesn't seem to be the same as the default one- the image is attached.



I have tried COPY tool in limesurvey also manually "copy and paste" the folder in the server.

Any idea why it's so?

C
Letzte Änderung: 4 Jahre 10 Monate her von chinglnc. Begründung: image didn't show up
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41540

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4571
  • Dank erhalten: 896
  • Karma: 401
Image?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41541

  • chinglnc
  • chinglncs Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Karma: 0
not sure why it didn't show up

www.flickr.com/photos/49646445@N03/4554460584/
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re:change the radio button in horizontal layout 4 Jahre 10 Monate her #41546

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4571
  • Dank erhalten: 896
  • Karma: 401
Hmm, strange.

Try the attached copy of the default template.

I also added a few more styles to make the list-radios match the yes-no type:
.list-radio ul {
    margin-left:0;
    margin-top:0.5em;
    padding-left:0;
    text-align:left;
}
 
.list-radio ul li {
    display: inline;
    padding: 0 2em 0 0;
    margin-left: 0;
}
 
.list-radio .answer li label {
    display: inline-block;
    width: auto;
}
 
.list-radio td.answer {
    padding-bottom:10px;
}

Dateianhang:

Dateiname: default_chinglnc.zip
Dateigröße: 32592
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.246 Sekunden
Donation Image