Title: featured image position
Last modified: August 30, 2016

---

# featured image position

 *  Resolved [tuhinbiswas98](https://wordpress.org/support/users/tuhinbiswas98/)
 * (@tuhinbiswas98)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/featured-image-position/)
 * how to Changing position of featured image just like on this photo
 * [http://oi62.tinypic.com/2up7ddw.jpg](http://oi62.tinypic.com/2up7ddw.jpg)
 * ther any way to do that?

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

 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247625)
 *  Thread Starter [tuhinbiswas98](https://wordpress.org/support/users/tuhinbiswas98/)
 * (@tuhinbiswas98)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247664)
 * invisible comment :O?
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247688)
 * Have you tried Theme Options > Blog > Standard Blog List?
 *  Thread Starter [tuhinbiswas98](https://wordpress.org/support/users/tuhinbiswas98/)
 * (@tuhinbiswas98)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247697)
 * i did try that but after i on Standard Blog List its look like this [http://oi60.tinypic.com/2n0niio.jpg](http://oi60.tinypic.com/2n0niio.jpg)
   
   now how to fill that featured image gap for thos category who dont have featured
   image?
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247706)
 * For whatever reason it seems the theme is creating the featured image container
   for the post even though a featured image is not assigned to the post. The display
   can easily be adjusted using css. The difficult part is developing the logic 
   to determine which posts don’t have images, remove the image container, and then
   flag the post containers with a specific class so you can adjust the padding 
   and margins with css. I can think of three ways to target the containers, none
   of which I have any experience with in this context:
    1. Create a function in
   your child theme (might work, don’t know for sure) 2. Modify content-standard.
   php, although it appears this file is supposed to already have this functionality
   so not sure what you’d change 3. Use a jquery script to modify the DOM
 * Maybe Bojan has some ideas, or maybe someone else has already done this and can
   chime in here with the fix.
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247761)
 * Hey there tuhinbiswas98,
 * I’ve been searching for similar solutions but wasn’t really able to find one 
   so I’ve been testing this on my end and managed to remove the space if no image
   is being used on that post with some jQuery and CSS.
 * In order for this to work make sure to keep the same settings, that means you
   have to keep Thumbnail Placeholder to off in Appearance -> Theme Options -> Blog.
 * When done please try adding the following to your theme functions.php (ideally
   you’d want to add it to your child theme functions.php or use it as a mu plugin
   so you don’t lose the changes once you update the theme):
 *     ```
       add_action('wp_footer','my1_javascript_function');
       function my1_javascript_function(){
       ?>
       <script>
       jQuery(function(){
       ;(function ($) {$(function () {$(".post-thumbnail").each(function() {var $me = $(this); if ($me.find("img").length) return true; $me.closest(".post-inner").addClass("no-thumbnail"); } ); }); })(jQuery);
       })
       </script>
       <?php
       }
       ```
   
 * This function will add no-thumbnail class to posts that doesn’t have images so
   you can use that to remove the padding that is applied only on those posts. To
   do this please add the following CSS code in the style.css file of your [child theme](http://codex.wordpress.org/Child_Themes)
   or add it in your site using the following plugin:
 * [http://wordpress.org/plugins/simple-custom-css](http://wordpress.org/plugins/simple-custom-css)
 *     ```
       .post-inner.post-hover.no-thumbnail {
       padding-left: 0;
       }
       ```
   
 * This will remove the padding only on posts that don’t have and image so this 
   should be the result [http://screencast.com/t/hjN287C3i5](http://screencast.com/t/hjN287C3i5)(
   image to my majestic cat included :D)
 * Hope this helps 🙂
 * Cheers,
    Bojan
 *  [hakuna_matata](https://wordpress.org/support/users/hakuna_matata/)
 * (@hakuna_matata)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247833)
 * Hi there!
 * I don’t understand why don’t get featured image in posts!
 * Any clues?
 * Thanks!
 *  [hakuna_matata](https://wordpress.org/support/users/hakuna_matata/)
 * (@hakuna_matata)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247834)
 * I found how to put images in posts, i must select post format as image.
 * Please ignore above message. Thanks!

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

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

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

## Tags

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

 * 8 replies
 * 4 participants
 * Last reply from: [hakuna_matata](https://wordpress.org/support/users/hakuna_matata/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/featured-image-position/#post-6247834)
 * Status: resolved