• Hello dear WP developers !

    I am one of depelopers of premium themes and now I am working on compatibility with your latest update.

    I found an issue for me but it more looks like it could be fixed for both sides by your one.

    Could you tell me the reason why you use here -> http://prntscr.com/1ljoukk “ol” tag while you are making it list-style: none anyway ? It is ok to use here “ul” and have the exactly same result. I asked you about this because I have many styles in theme that are working with “.sidebar ul” and not for “.sidebar ol”. If you change it to ul then it will be ok for me and for you too. But if not then I should add a package of styles to make it styled much better than now.

    Waiting for your reply guys !

    Regards, stas0238

    • This topic was modified 4 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    Some themes might really want their comments in a numbered list. Regardless of the list type here, your theme should be styling both ordered and unordered lists as you see fit, even if they are both no style..

    Thread Starter stas0238

    (@stas0238)

    @bcworkz
    Good answer but I have some doubts about this widget. When user used old version of widget then it was ul but when it is in gutenberg then it is ol. Maybe it would better to have an option for that or make like it was on old version ?
    I meant that no one theme wanted to have ordered list before the update of widgets panel. So I don’t think that once you had that update all theme will think about ‘Ohh finally let’s show this ordered list there :)’.
    Regards, @stas0238

    Moderator bcworkz

    (@bcworkz)

    TBH, it’s hard for me to imagine a theme that would want to number the comments. I don’t know why they switched to an ordered list when they switched to block based widgets. The difference is only semantic anyway. We could number an unordered list or bullet point an ordered list if we were so inclined.

    There doesn’t appear to be any filter we could use to alter the HTML list type, so altering it would involve developing an alternative custom block. A lot of fuss just to change an “o” to an “u”.

    I still think the best solution is for your theme to style the ordered comment list just as you would style an unordered list. It’d probably mainly be a matter of adding ol selectors to the ul ones you already have, if your CSS is not based solely on class selectors to start with.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Recent comments widget’ is closed to new replies.