Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* カテゴリの位置変更 */
.page-archive .archive-entry .categories {
position: absolute;
top:0px;
left:5px;
}
/* カテゴリーの背景とテキストの色 */
.categories a {
border-radius: 10px;/*角の丸み*/
background: #7EBEAB;
color:#fff;
}
/* カテゴリーを親カテゴリーのみ表示 */
.page-archive .categories a:nth-child(n + 2) {
display: none;/*親カテゴリのみ表示*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.