How to add space between items in ordered list
-
Hi can you please help me to add automatic space of 8px to 10px in the post listed number like www.http://www.overallmotivation.com/quotes/inspiring-leadership-quotes-teamwork/ .
Here I have manually added with editing code <li style=”margin-bottom: 10px;”> help of thesacredpath
Happiness Engineer.
But it is a manual process and time consuming. Can I write a code in CSS so that it happens in automation whenever I post list. -
Hi there,
A margin can be added by adding the CSS below to the customizer in My Sites > Customize > CSS:
.entry-content ol li { margin-bottom: 10px; }Adding custom CSS is only possible with a Premium or Business plan.
I hope this helps :)
-
The forum you’ve posted this thread in only provides support for sites hosted here at WordPress.com. Your site appears to be hosted with Namecheap.
If you need to add CSS to a self-hosted site, that can be done in Appearance > Customize > Additional CSS
If you need support for a WordPress site hosted somewhere other than here at WordPress.com, please try posting any future questions in the WordPress.org support forums.
To learn about the differences between the two versions of WordPress (.com vs.org), please see this guide.
Thanks :)
-
-
- The topic ‘How to add space between items in ordered list’ is closed to new replies.