Check out the LimeSurvey source code on GitHub!

Bullet in front of radio buttons

More
6 years 6 days ago #57077 by adamerwood
Hello,

I'd imagine that this has discussed before, but I can't find it in search, so hopefully others will be able to find this post.

I'd like to remove the bullet points that are in front of every radio box answer option.

I'm using the default theme, with some minimal customization.

Best Regards,

Adam

Please Log in to join the conversation.

More
6 years 5 days ago #57079 by tpartner
This has been asked before and is a known problem with older copies of templates.

Add the following to the end of template.css:
ul{
    list-style-type:none;
}

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
6 years 5 days ago #57080 by adamerwood
Thanks for replying; unfortunately that is not working for me; I put the code in and saved the changes, but the bullets are still showing up ( I attached a screenshot as well).
Attachments:

Please Log in to join the conversation.

More
6 years 5 days ago #57081 by karlchen
Maybe the following helps:

open the index.php with an editor and then use the replace-function to replace all li> with td>.

Don't forget to backup before you do it ;)

Please Log in to join the conversation.

More
6 years 5 days ago #57092 by tpartner

open the index.php with an editor and then use the replace-function to replace all li> with td>

Do not do this! You cannot arbitrarily replace list items with table cells.

Can you activate a sample survey for us to check?

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
6 years 5 days ago - 6 years 5 days ago #57097 by karlchen
Maybe you are right and i forgot to say that you need <br> tags behind the </td>.

Maybe it's not the best solution but what would you say to this:

1. delete all "<li>"-tags
2. replace all "</li>" with "<br>"

When there is a list where some lines are under each other, you have to put a "<br>" in front of the first row too.

Here is an example:
<html>
 
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Neue Seite 1</title>
</head>
 
<body>
      <li>111111111111111</li>
      <li>222222222222222</li>
      <li>333333333333333</li>
      <li>444444444444444</li>
 
  <br>111111111111111<br>
      222222222222222<br>
      333333333333333<br>
      444444444444444<br>
 
</body>
 
</html>
Or am i completely wrong?
Last Edit: 6 years 5 days ago by karlchen.

Please Log in to join the conversation.

More
6 years 5 days ago #57098 by tpartner
I think this would be better solved with CSS than modifying the page structure. We just need to pin down the selector so an activated sample survey or attaching the template would be helpfull.

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
6 years 5 days ago #57101 by karlchen
Sorry my english is too bad to understand exactly what you mean.

BUT i tried to find the site where these "Bullets" show up, but i didn't find any.

I went to the Demo here and it was the same, would be helpful to know where they are displayed.

So, it's his turn ;)

Please Log in to join the conversation.

More
6 years 5 days ago #57112 by adamerwood
Thanks for the help from both of you. Here is a test survey that shows the bullets.

www1.utm.utoronto.ca/limesurvey/index.php?sid=18365&lang=en

Please Log in to join the conversation.

More
6 years 5 days ago #57117 by Mazi

karlchen wrote: Sorry my english is too bad to understand exactly what you mean.

BUT i tried to find the site where these "Bullets" show up, but i didn't find any.

I went to the Demo here and it was the same, would be helpful to know where they are displayed.

So, it's his turn ;)

To put it in a nutashell: This is not the right approach for this kind of problem and you can even break your whole system by just replacing HTML elements.

This is a known issue if you use customized or old templates (< 1.87) at Limesurvey versions 1.87 or 1.90.

The solution tpartner posted should sovle this. Just add that line mentioned above at your template.css and don't forget to clear your browser cache so no cached CSS file is taken (which might explain why the changes don't show up.).


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 5 days ago #57119 by adamerwood
Hmm, well I didn't clear cache when I did the change, but it has been a day now, and I've checked on multiple platforms, and it it still there in the test survey. The code I inserted is in a sreenshot above; that is correct right?

Thanks,

Adam

Please Log in to join the conversation.

More
6 years 1 day ago #57238 by tpartner
adamerwood, your survey requires registration to participate wich I do not want to do. If you make the survey public I would be happy to test.

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
6 years 1 day ago #57244 by DenisChenu
This survey are closed,

But, in general list style are OK with
ul, li{
    list-style-type:none;
}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form