Almost done!

Check the link in the previous post! I am almost done with the new theme. I may even install it here tonight! There was a lot of trickiness involved, and some CSS even I haven’t seen before. Such as this:

.entry ul li:before, #sidebar ul ul li:before {
      content: "0BB 020";
}

You know what that does in the default theme in WordPress? It adss >> in front of all the sidebar list items. REALLY damn annoying. I searched the code for about 20 minutes and googled my rear off. Finally got the right search terms to bring up a forum post of someone trying to do the same thing.

Apparently you can use the content property to add things to the html…such as this example:

a:after {
     content: " (" attr(href) ")";
}

That adds the URL in parenthesis after each link. Interesting bit of css right there. Can’t think of a reason why I would use it off the top of my head, but still cool.

Leave a Reply