[Resolved] Missing bullet points in theme

Started by Col, December 17, 2007, 09:18:42 AM

Previous topic - Next topic

Col

Hi,

I'm debugging a theme, but the lists are unformatted. The text is displayed, but the bullet points and indents are missing. Can someone point me to the code responsible for this within the default theme so that I can compare the two.

Thanks.

codenaught

There isn't any special list formatting in style.css for the default theme.

If it is from a custom theme available for download, you may want to ask the theme author for help (in the theme's support topic, if the theme was downloaded here). If it is a custom theme that you made, you may want to post a link to your forum with the theme in action.
Dev Consultant
Former SMF Doc Coordinator

Col

Hi,

It's one of *erens themes and he's ill apparently - he hasn't been here in months. because there is nothing in the CSS to control this stuff, I assumed that there must be some call that was omitted from the PHP in the theme, but if I understand you correctly, this is not the case. What possible causes are there for the bullets and indents not rendering?

Thanks.

Col

There is actually quite a lot of list styling in the theme's CSS, but nothing that should affect the post. Nevertheless, I went through and commented out every occurrence 'list-style-type: none', and still bullets would not display. I then tried adding .post li { list-style-type: disk; } to the CSS, but still nothing. This is bugging the hell out of me. :(

Col

I've resolved this. The universal selector was used to set a a margin of '0' - I added a margin to .post li, and li li.

Advertisement: