Archived topic
Customize design of tag cloud and category cloud
3 replies · Started by C. on October 12, 2019
Hello,
I'm trying to adjust the design of the standard tag cloud and the category cloud. I was able to change the tag design to a black background with rounded edges using the following CSS:
.tagcloud a {
padding: 3px;
background: black;
color: white;
border-radius: 10px;
}
How would I achieve the same for the categories? I just couldn't find the correct selector for the category cloud (By the way, how would I do that? I tried with "inspect element", but without success). Thank you.
Hi there,
The category widget isn't actually a cloud widget.
You can target it with this CSS though:
.sidebar li.cat-item a {
background-color: #fff;
}
That works, thank you.
No problem :)