Styling bullets with Theme Options Custom CSS
-
Hi there,
I’m trying to style bullets to be a coloured tick and have tried the following in the Custom CSS area of my Theme Options, to no avail.
1.
ul { list-style: none !important; /* remove list bullets */ } ul li:before { content: '? !important'; color: #215f6e !important; }
When I use:
<ul> <li>test</li> </ul>
…the list bullet has been removed but there is no coloured tick preceding the text.
2.
mark.darkteal { color:#215f6e !important; background: none !important; /* }
<mark class="darkteal">?</mark> Have already tried things which haven't worked
This applies the default values for the ‘mark’ element – a yellow background and black text, ignoring the overwriting I was trying to do in the ‘mark.darkteal’ portion (dark teal text colour, no background colour).
Am I missing something important in the CSS?
Many thanks!
Tracy
- The topic ‘Styling bullets with Theme Options Custom CSS’ is closed to new replies.