Recent searches
No recent searches

Isaac Starobin
Joined Oct 30, 2022
·
Last activity Nov 01, 2022
Following
0
Followers
0
Total activity
4
Vote
1
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Isaac Starobin
Isaac Starobin commented,
Thanks for taking a look! Unfortunately this looks like it's beyond my very limited CSS capabilities. If you have any ideas, I'm all ears!
View comment · Posted Nov 01, 2022 · Isaac Starobin
0
Followers
0
Votes
0
Comments
Isaac Starobin commented,
I'm trying to customize the numbers in ordered lists so they have pretty circled backgrounds. I started with this CSS:
.article-body ol {list-style: none; counter-reset: li}
li::before {content: counter(li); color: red;
display: inline-block; width: 1em;
margin-left: -1em}
li {counter-increment: li}
It did indeed format the numbers, but it also added numbers to some very strange places around the article page, like the social icons on the bottom.
Any ideas how to modify the CSS so that it applies ONLY to ordered lists within the article body?
Thanks!
View comment · Posted Oct 30, 2022 · Isaac Starobin
0
Followers
0
Votes
0
Comments