Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1405584
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 8 days ago.
Improve this questionI am currently working on creating a news page. On the main page the news of all possible categories are listed. However, I would like to display the link color of a specific category in a different color. However, I do not have access to the individual categories via CSS. I can only address the link color of all entries in this block as normal.
The goal is to display the link color of e.g. Plus content in a different color in the overview.
I have already tried various code snippets from here that add a CSS class to the categories, but none of them work the way I want them to. They only worked on the respective category page, but not on the start page.
I use the Jannah theme.
Does anyone have any idea or is this even possible?
Thank you very much!
本文标签: categoriesAdd CSS class to a category on frontpage (PHP)
版权声明:本文标题:categories - Add CSS class to a category on frontpage (PHP)? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744341608a2601508.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论