Title: Featured Image Size &amp; Alignment
Last modified: August 22, 2016

---

# Featured Image Size & Alignment

 *  Resolved [Squirrel99](https://wordpress.org/support/users/squirrel99/)
 * (@squirrel99)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/)
 * Hello,
 * I have two questions regarding “Featured Image”. Sorry, to keep bothering.
 * 1) How to change the alignment of “Featured Images” in the main homepage from
   left to center? Currently all the featured images of my posts are shown on the
   left. I need to align them to be in the center. Which page (style.css or functions.
   php) should I edit? What is the code that I should I edit?
 * 2) How to set a one size for all the featured images? I have tried “Regenerate
   Thumbnails” and “AJAX Rebuild Thumbnails” plugins but, the Featured Images on
   my homepages are not uniformed. Some are way too large and some are way too small.
 * Example, I used this codes in functions.php in my previous theme:
    // Thumbnail
   sizes add_image_size( ‘thumb-small’, 160, 160, true ); add_image_size( ‘thumb-
   medium’, 520, 245, true ); add_image_size( ‘thumb-large’, 720, 340, true );
 * But, these codes are not working in GeneratePress. How do I go about it?
 * Any help, much appreciated.
 * Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/#post-5438230)
 * Hi there,
 * 1. Actually, the default styling of featured images is center. Can you link me
   to your website so I can see what you have set up?
 * 2. This isn’t possible at this time, but will be added in the near future to 
   our Blog addon. Of course, you can build a child theme to use your own specifically
   sized featured images if you wish 🙂
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/#post-5438313)
 * Any updates for me?
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/#post-5438320)
 * Just an update – our blog add-on now allows for featured image resizing and alignment.
 * Going to go ahead and mark this as resolved.
 * Post back in here if you need more help 🙂
 *  [Diane](https://wordpress.org/support/users/dianezoet/)
 * (@dianezoet)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/#post-5438379)
 * mine is also align as left. but i want to have my text next to the image. but
   i can’t figure out how or where to edit the css or style for that matter.
 * there is nothing in the css that says thumbnail.
    or even in the content file.
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/#post-5438380)
 * Our Blog add-on allows you to easily set your featured image to the left or right
   next to your text in the blog.
 * It’s do-able using CSS as well, something like this may work:
 *     ```
       .post-image {
             float: left;
       }
   
       .post-image img {
             max-width: 250px;
       }
       ```
   
 *  [bloggingviral.com](https://wordpress.org/support/users/bloggingviralcom/)
 * (@bloggingviralcom)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/#post-5438381)
 * this works good. but when we click in post link on home page and open post page
   the featured image again goes about post title.
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/#post-5438382)
 * Give this a shot: [http://generatepress.com/forums/topic/customising-featured-image/#post-83209](http://generatepress.com/forums/topic/customising-featured-image/#post-83209)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Featured Image Size & Alignment’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

## Tags

 * [featured image](https://wordpress.org/support/topic-tag/featured-image/)
 * [Featured image alignment](https://wordpress.org/support/topic-tag/featured-image-alignment/)
 * [featured image size](https://wordpress.org/support/topic-tag/featured-image-size/)
 * [featured images](https://wordpress.org/support/topic-tag/featured-images/)

 * 7 replies
 * 4 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/edge22/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/featured-image-size-alignment/#post-5438382)
 * Status: resolved