Home Forums Porto Template Ordered list start number not working

This topic contains 2 replies, has 2 voices, and was last updated by  ayesha616 1 month ago. This post has been viewed 78 times

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10029048

    ayesha616
    Participant

    Hi, I’ve used ordered list style 3. I need to change start number in several locations. As an example I need to start list at 5. How can I do that?

    <ol class="list list-ordened list-ordened-style-3" start="6">


    • This topic was modified 1 month ago by  ayesha616.
    • This topic was modified 1 month ago by  ayesha616.
    • This topic was modified 1 month ago by  ayesha616.
    • This topic was modified 1 month ago by  ayesha616.
    #10029054

    Support2
    Keymaster

    Hello,

    The start attribute does not work on the ordered list style 3, since it uses CSS counter to increment the number.
    In that case you need add this code in (css/custom.css):

    .list.list-ordened.list-ordened-style-3 {
        counter-reset: custom-counter 50;
    }

    * 50 is the “start” number.

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    • This reply was modified 1 month ago by  Support2.
    #10029057

    ayesha616
    Participant

    it works. Thank you


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