Reputation: 71
I want to know how to accomplish something similar to this in wordpress. Any suggestions? maybe a sample code.
Can you show me an example how to apply it to the sub bullets?
Upvotes: 1
Views: 15006
Reputation: 7518
Use li:before { content: ...; }
HTML
<ul>
<li>Disater Assistance Center Manager
<ul id="sub">
<li>San Jaun</li>
</ul>
</li>
</ul>
CSS
#sub { list-style:none; }
#sub li:before {
content: "\2192 \0020";
}
Other special characters can be found here.
Upvotes: 3
Reputation: 3454
You could use li:before{ content:"....";}
to make an arrow? Like this:
<ul>
<li>Disaster</li>
<ul>
<li>stuff</li>
<li>Stuff2</li>
</ul>
</ul>
CSS:
ul ul li:before {
content: "\2192 \0020";
}
ul ul {
list-style: none;
}
See it in function here, on this fiddle: http://jsfiddle.net/f9AzK/
Upvotes: 3
Reputation: 626
Yup. Use CSS, list-style-image.
http://www.w3schools.com/cssref/pr_list-style-image.asp
Upvotes: 2