N
N
Nikolai Dmitriev2016-04-02 14:20:49
css
Nikolai Dmitriev, 2016-04-02 14:20:49

How to issue separate li classes for each subcategory in wordpress?

How to create a separate css class for each separate subcategory ?
c42287cc0bcd4a859f2613aed906b884.png
Currently, each subcategory has a single class:
.archive-links li {
display: block;
list-style-type: none;
width: 200px
height: 37px;
margin: 10px 20px;
float: left;
background-color: #04a2e5;
text-align: center;
line-height: 37px;
border-radius: 5px
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smoklew, 2016-04-02
@HD_man

nth-child

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question