You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  1. ctx2011
  2. JCE Editor
  3. Monday, 12 October 2020
Hi Ryan,
I would like to format an ordered list with lower alpha, instead of simply "a. text" in the form of "a) text", that is, changing the period to closing bracket and adding some more space between the alpha "bullet" and the text. How can I achieve this?
Thanks
Krisztina
Accepted Answer Pending Moderation
Add the following to your template stylesheet:


ol li {
list-style: none;
counter-increment: myIndex;
margin-left: -10px
}

ol li:before {
content:counter(myIndex)")";
margin: 0 10px;
}


See - https://stackoverflow.com/questions/4388632/custom-ordered-list-format
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!