Home › Forums › CSS › CSS Noob: Help with styling › Reply To: CSS Noob: Help with styling
April 22, 2019 at 7:14 pm
#286718
Participant
Thanks for the help with that. That CSS as is didn’t change anything, though.
The CSS below did change the font color and background, however it’s still displaying with 33% width for each of the blocks and excess padding around the text.
.gd-cptcat-ul {
list-style-type:none;
display:inline-block;
padding: 0;
}
.gd-cptcat-li.gd-cptcat-li-main {
padding:0;
background:black;
}
.gd-cptcat-li.gd-cptcat-li-main a {
display:inline-block;
padding: 0;
color:white;
text-decoration:none;
font-size:10px;
}