[Resolved] Comment Numbering

Home Forums Support [Resolved] Comment Numbering

Home Forums Support Comment Numbering

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #510474
    Carl

    I want to give each comment a number. I have an installation, there is this already implemented, but I can´t find it out, how.

    Has someone an idea?

    Here is an example:
    https://www.carl-auer.de/blogs/kehrwoche/

    Thanx & Regards
    Wolfgang

    #510677
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Give this a shot:

    li.depth-1 {
        list-style-type: decimal;
    }
    #510685
    Carl

    Hi Tom, thank you, but I want that every comment automatically gets a unique number, like it is in the example.

    #510686
    Tom
    Lead Developer
    Lead Developer

    That code was taken from the example site you linked to.

    Comments are numbered list, so each comment will have a unique number with that CSS.

    #510700
    Carl

    OK, thank you very much! Something is there but hidden …

    Kind regards and have a nice weekend!

    #510936
    Tom
    Lead Developer
    Lead Developer

    I’m not seeing the CSS on your site?

    No problem – you as well! 🙂

    #513668
    Carl

    Now the css-code is on the page, thank you for your great support!

    Now, all Comments have numbers like

    1.
    1.
    2.
    2.
    1.
    2.
    3.
    1.

    Better would be like

    1.
    1.1
    1.2
    2.
    2.1
    2.2
    2.3
    2.3.1

    Do you have an Idea?

    Kind regards
    Wolfgang

    #513670
    Carl

    Sorry, the System has deleted my blanks. My question is how can I number nested comments better.

    #513693
    Carl

    Not the beste but one solution:

    li.depth-1 {
    list-style-type: decimal;
    }

    li.depth-2 {
    list-style-type: upper-latin;
    }

    li.depth-3 {
    list-style-type: lower-latin;
    }

    li.depth-4 {
    list-style-type: upper-roman;
    }

    li.depth-5 {
    list-style-type: lower-roman;
    }

    #514092
    Tom
    Lead Developer
    Lead Developer

    That looks like the best solution. I’m not sure how you’d do it otherwise.

    #514109
    Carl

    OK, thank you!

    I´m very amused of Generate Press and it is very often that I´m so happy of many functions they make the work with wordpress more easy. I can´t imagine how was the work without Generate Press before I have found it!

    Regards
    Wolfgang

    #514348
    Tom
    Lead Developer
    Lead Developer

    Great to hear! Thank you! 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.