Title: featured image
Last modified: August 21, 2016

---

# featured image

 *  [JagZaw6949](https://wordpress.org/support/users/jagzaw6949/)
 * (@jagzaw6949)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/)
 * Zolf,
    could you advise how to make my featured images small with a left align
   at the main page? And how to cancel them from a single posts? I lost 2 days and
   without results… Here: [http://obserwatore.eu/](http://obserwatore.eu/) you can
   see that in the post at the bottom (kiedy jak i co) is the picture-always big.
   Only thing which I can do is to move up/down the entry title. In advance thanks
   a lot for your help and time. JAg

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

 *  Theme Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/#post-4749160)
 * Hello Jag,
 * That would only be possible via a child theme.
 * How comfortable are you with PHP/CSS code?
 * Regards,
    Zulf
 *  Thread Starter [JagZaw6949](https://wordpress.org/support/users/jagzaw6949/)
 * (@jagzaw6949)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/#post-4749195)
 * Hi,
    more or less I get it. The problem can be in this part?
 * [@media](https://wordpress.org/support/users/media/) screen and (min-width: 1040px){
   .
   site-content .has-post-thumbnail .entry-header { margin-top: -48px; } JAg
 *  Theme Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/#post-4749218)
 * No, that part pulls the content up so it slightly overlaps the featured image–
   a design decision.
 * To change the featured image sixes you’d be looking at changing the set_post_thumbnail_size
   and add_image_size values in the after_setup_theme function callback.
 * You’d then apply the new values to the output via the child theme’s template-
   tags file using a custom function callback.
 * Hope that makes sense and points you in the right direction.
 * Regards,
    Zulf
 *  Thread Starter [JagZaw6949](https://wordpress.org/support/users/jagzaw6949/)
 * (@jagzaw6949)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/#post-4749232)
 * Oh, thanks!
    In functions.php I have however 2 sizes already. Maybe the name 
   the smalled one should be changed into”featured image”? Or should be added px
   after numbers?
 *  add_theme_support( ‘automatic-feed-links’ );
 *  // Enable support for Post Thumbnails, and declare two sizes.
    add_theme_support(‘
   post-thumbnails’ ); set_post_thumbnail_size( 672, 372, true ); add_image_size(‘
   ridizain-full-width’, 1380, 770, true ); add_image_size( ‘ridizain-recentpost-
   thumb’, 372, 186, true );
 * JAg
 *  [Jess](https://wordpress.org/support/users/jcull76/)
 * (@jcull76)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/#post-4749287)
 * I think we’re looking for the same set of instructions on how to actually change
   those defaults – my thread is here:
 * [http://wordpress.org/support/topic/set-standard-featured-image-size](http://wordpress.org/support/topic/set-standard-featured-image-size)
 * Just changing the sizes in that code in a Child Theme’s function.php file does
   not change how the images are displayed. Changing the values in the original 
   theme files would, but that defeats the purpose of using a Child Theme at all!
   So, Zulf, can you please point us to instructions on how to make changes to that
   functionality in a Child Theme?
 * (cross posted to my original thread as well)
 *  [Jess](https://wordpress.org/support/users/jcull76/)
 * (@jcull76)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/#post-4749295)
 * Solution!
 * This page was very helpful: [https://codex.wordpress.org/Plugin_API/Action_Reference/after_setup_theme](https://codex.wordpress.org/Plugin_API/Action_Reference/after_setup_theme)
 *     ```
       /* Set Default Featured Image Sizes */
   
       add_action( 'after_setup_theme', 'ridizain_setup' );
   
       function ridizain_setup() {
   
       	// Enable support for Post Thumbnails, and declare two sizes.
       	add_theme_support( 'post-thumbnails' );
       	set_post_thumbnail_size( 400, 300, true );
       	add_image_size( 'ridizain-full-width', 600, 400, true );
       	add_image_size( 'ridizain-recentpost-thumb', 250, 250, true );
       }
       ```
   
 * You have to keep “ridizain_setup” named exactly that for it to override what’s
   in the original theme functions.php file. The values you choose in the size lines
   can be whatever you want.
 *  Theme Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/#post-4749296)
 * Glad you found the information you need.
 * Please also refer to my response here: [http://wordpress.org/support/topic/set-standard-featured-image-size?replies=6#post-5397167](http://wordpress.org/support/topic/set-standard-featured-image-size?replies=6#post-5397167)

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

The topic ‘featured image’ is closed to new replies.

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

## Tags

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

 * 7 replies
 * 3 participants
 * Last reply from: [Brian Harris](https://wordpress.org/support/users/zgani/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/featured-image-144/#post-4749296)
 * Status: not resolved