Special Offer: Buy All 48 Premium WordPress Themes for Just $74.99. Learn more

Display Post Thumbnails in Left

wp display post thumbnail in left

By default, the post thumbnails (the image which are set as ‘Feature Image’ for posts) are displayed in full width in most of the Premium and Free themes by us.

In some cases you may want to display them smaller and floated to left. It can be easily implemented with a small code change, here are all of the necessary steps:

Login to Admin Panel, then navigate to Left Menu -> Appearance -> Theme Editor

Open style.css and insert the following code:

article img.wp-post-image {
float: left;
margin: 0 10px 10px 0;
max-width: 30% !important;
}

Note: You can change the above percentation value (30%) to any other i.e. 40% or 50%.

Then save change. Open your website, click Ctrl + F5 to refresh and now your post thumbanils will be displayed in left and in smaller size.

About the Author

Tihomir Ivanov is a WordPress web developer, founder of tishonator.com, a fan of Linux and Open Source, a gym enthusiast, a vegan, a fan of minimalism, good movies and books :)

Leave a Reply