Styling the First Word
You can add a few lines of code to your WordPress theme which allow you to style the first word of any page title differently than the rest of the title.
You can add a few lines of code to your WordPress theme which allow you to style the first word of any page title differently than the rest of the title.
After thinking about it a little more, I was able to shorten my code significantly and keep the same effect of a b+w image fading into a color image when rolled over. This improvement has the added benefit of only placing one image thumbnail in the HTML so there aren’t two thumbnails of each image when styles are disabled (and it just seems more syntactically correct, doesn’t it?).
There is an updated version of this post. Today I created my first jQuery function. I wanted to have all the thumbnail images in my portfolio be black and white, but fade to color when you roll your mouse over it, and I accomplished it by loading two thumbnails in the same position on the [...]