Archived topic
Left align list - CSS
3 replies · Started by CRAIG on June 9, 2021
Viewing posts 1–4 of 4
I have added check marks to replace bullet points on the list on my homepage (see private link) using this CSS:
.entry-content ul {
list-style: none;
}
.entry-content ul li:before {
content: '✓ ';
color: #6bbf4f;
}
The list appears to have indented itself
Could you help me return the list to be in line with the left-aligned text above it?
Hi there,
change your first CSS rule to this:
.entry-content ul {
list-style: none;
margin-left: 0;
}
thanks
Glad to be of help
This archived topic is closed to new replies.