- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi All, I’m just working on a site where the original dev had totally set the css wrongly, he has split the css of multiple stylesheets with no logical order.
I have managed to get the css down to a manageable number of sheets, but I’m having a problem with a decimal list-style-type appearing at the top of the comments section. I have tried to set the comments section to:
`
.ol.comment-list { list-style-type: none; }
`
But it dosen’t seem to work. Can anyone give me a tip on how to remedy this issue?
[Link to site] (http://www.naseeha.org/cum-soluta-nobis-est-eligendi/ ‘Link to site’)
It’s set here
ol li {
list-style-type: decimal;
margin-left: 5px !important;
}
so
.ol li.comment-list { list-style-type: none; }
should get it done.
Hi Paulie, thanks for the reply, I tried that but it didn’t work. I also tried:
li .comment-list { list-style-type: none; }
#comments li.comment-list { list-style-type: none; }
But no go, think i’m missing something :-(
Then just remove this part?
ol li {
list-style-type: decimal; /* remove this */
margin-left: 5px !important;
}
That said, why use am ol
in the first place…why not use a ul
instead?