最近搜索


没有最近搜索

Isaac Starobin's Avatar

Isaac Starobin

已加入2022年10月30日

·

最后活动2022年11月01日

关注

0

关注者

0

活动总数

4

投票

1

订阅

1

活动概览

的最新活动 Isaac Starobin

Isaac Starobin 进行了评论,

评论Using themes and customizing your Help Center

Amy Gracer Amy Gracer

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!

查看评论 · 已于 2022年11月01日 发布 · Isaac Starobin

0

关注者

0

投票

0

评论


Isaac Starobin 进行了评论,

评论Using themes and customizing your Help Center

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!

查看评论 · 已于 2022年10月30日 发布 · Isaac Starobin

0

关注者

0

投票

0

评论