September 4, 2009 in Coding Tricks by Jerry


Here is how you can easily float an images either to the right or left inside a wordpress post.

First, locate the css file of your wordpress theme:

www.YourWebsite.com/wp-content/themes/YourTheme/style.css)

Second, open the file with an html editor or notepad and add a new class…

Add this at the bottom of your css file to define a new class: