admin管理员组文章数量:1321070
Author's and visitors' names use the same color in comments.The point here is that the color of the author's name is different in the comments. For example, in visitor comments, name is red. But, the name of the site author should be gray. (Only in comments)
I know an ID needs to be added for the author's comments. However, I could not add this ID. Therefore, the style I gave in style.css does not work either.
I just tried this in css, but that didn't work.
ment-list .bypostauthor .fn {color: gray;}
How can I achieve this?
Author's and visitors' names use the same color in comments.The point here is that the color of the author's name is different in the comments. For example, in visitor comments, name is red. But, the name of the site author should be gray. (Only in comments)
I know an ID needs to be added for the author's comments. However, I could not add this ID. Therefore, the style I gave in style.css does not work either.
I just tried this in css, but that didn't work.
ment-list .bypostauthor .fn {color: gray;}
How can I achieve this?
Share Improve this question asked Oct 1, 2020 at 11:58 A. MullerA. Muller 439 bronze badges 01 Answer
Reset to default 1You wrote ment-list
but that's not the class, it's mentlist
. You may also need to target the anchor link inside that tag explicitly to override link colours
本文标签: post metaHow is the author39s name given a different color
版权声明:本文标题:post meta - How is the author's name given a different color? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742089812a2420195.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论