I am trying to change the colour of the bullets only but when I add the extra style to the <ul>, the colour of the text changes as well. What can I do?
ul.default-bullets li::marker{color:#fc6676;} {# This is the bullet color #}
ul.default-bullets li{color:#1f2124;} {# This is the text color #}
ul.other-bullets li::marker{color:#green;} {# This is the bullet color #}
ul.other-bullets li{color:#blue;} {# This is the text color #}
Of course you could implement the theme/brand variables so the colors would automatically change if you'd change colors in your theme or brand settings.
ul.default-bullets li::marker{color:#fc6676;} {# This is the bullet color #}
ul.default-bullets li{color:#1f2124;} {# This is the text color #}
ul.other-bullets li::marker{color:#green;} {# This is the bullet color #}
ul.other-bullets li{color:#blue;} {# This is the text color #}
Of course you could implement the theme/brand variables so the colors would automatically change if you'd change colors in your theme or brand settings.
Hey @LRrokaj7 thank you for posting in our Community!
You can style only the pseudo-element, you can change the bullet color without affecting the text color. Adjust the content, color, width, and margin-left properties as needed to customize the appearance of the bullets.