Hey there, I have a question that might sound silly but I'm having trouble finding an answer online. My issue is with styling the bullet point before a list item in an HTML email.
All I want to do is change the bullet point to a square and give it a specific color while keeping the text black. I've tried using CSS, but it's not working as expected.
ul{list-style-type:square;}
ul li{color:#000;}
ul li::before{color:#fac600}
I also attempted another method by removing the default list style, but I believe ::before may not be supported.
ul{list-style:none;}
ul li::before {
content: "\2022";
color: #fac600;
display: inline-block;
width: 1em;
margin-left: -1em;
}
Feeling frustrated, I even tried using an image to replace the bullet point, which I know is unsupported.
I can easily change the bullet to a square and adjust both the color of the bullet and the text together, but not separately. Have you experienced this issue and found a workaround?
I would love to hear your thoughts on this! Thanks for any assistance you may provide.