admin管理员组文章数量:1124412
Within a query loop I wanted to display the category of the post. Therefore I used the categories-block:
I want it to look like this:
I did not find an option to style this block in the theme.json. Is it not possible for this block?
Looking forward to your reply!
Within a query loop I wanted to display the category of the post. Therefore I used the categories-block:
I want it to look like this:
I did not find an option to style this block in the theme.json. Is it not possible for this block?
Looking forward to your reply!
Share Improve this question edited Mar 4, 2024 at 21:50 Marzii asked Mar 4, 2024 at 18:27 MarziiMarzii 336 bronze badges 2- can you edit this to just 1 question? You can create new questions if you have more than one but bundling them all together can severely reduce the chance of an answer, as well as the quality and length – Tom J Nowell ♦ Commented Mar 4, 2024 at 19:08
- Reduced to the first question. – Marzii Commented Mar 4, 2024 at 21:50
1 Answer
Reset to default 0As there is no option to style this block in the theme.json I remove the underline for every link with the follwing code:
"styles": {
"link": {
"typography": {
"textDecoration": "none"
}
}
}
本文标签: theme developmentStyle categories block in query loop
版权声明:本文标题:theme development - Style categories block in query loop 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736627532a1945706.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论