Custom form list format


(Jordan Payne) #1

There seems to be a style applied automatically to option lists and checklists where they actually embedded in a bullet list. I can't seem to remove these ugly and unnecessary bullet points using the Body copy and setting the list style to none… Is there any way to get around this? Will it be removed in 3.8? (We're using 3.6.4)


(Anthony Barnes) #2

You should be able to remove these bullets quite easily.

    #content_div_287 table td ul { list-style: none; }


Your problem may be that you have some more specific css that is overwriting your rule that removes ul styling. Try wrapping the form table in a div that has an id set and reference that.

(Raena Armitage) #3

I would be asking whether objects in a form should ever be presented as list items to begin with. I would probably number the questions in an ordered list, but as for the items underneath, I doubt it adds any meaningful value to the markup.


(Anthony Barnes) #4

It doesn't add anything really special to the markup, but it will give you greater control over the styling. I'm not sure of the original reason behind making them unordered list items… but I can see the benefit, especially if there are alot of items to display.