Was trying to figure out how to vertically center tags since I’m building a menu. Finally got it. [Read more...]
I decided to write this post because I wanted a way to align my featured image to the right by changing the default class from “alignleft” to “alignright”. I figured it would be simple enough to do. I probably just had to add a filter to a featured image hook or something along those lines.
OMG, I was so wrong.
I notice a lot of people like to float elements all the time but don’t clear them correctly. I’ll shed a little insight on this in the future but for now, here’s a quick snippet of code that I use all the time to clear css floats. [Read more...]
This is something that I use all the time. I saved it as a doc so I didn’t have to constantly recreate it. Basically what it does is it toggles the preceding element after the sibling is clicked… WHAT? Take a look at the code. [Read more...]