• Hi there!

    I have been using the fashionista theme for my blog for the past three months and I have never had issues with it. However I went on my site today and noticed it was upgraded to 4.3.1 and now all my featured images are cropped extremely small and I have no idea what to do or how to fix it!

    Can someone please help me!?!?

    Please check out my website: https://www.leathertolunch.com

    If anyone knows how to fix this issue please let me know ??

    Thank you!!!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi S

    i looked into you site and everything looked alright to me.

    can you please check again and let me know if you still see the issue and if yes, please share a screen-shot annotating the issue.

    Thanks

    Thread Starter sradmehr

    (@sradmehr)

    Hi Maruti,

    Thank you for your response! I’m not exactly sure how to add an image to show you in this forum. However, other people have told me as well that the featured image on each post of my site (on the home page) is cropped from the height. For example, my head is cut off in the most recent post, ‘How To Wear Black In The California Heat.’

    My site always showed the full image until I received the WordPress update. I hope you can help me resolve this issue!

    Thank you!

    Hi S

    This is the default behavior of the theme. In the home page it fetches the cropped 640×250 size image.

    To get a better image there are two ways.

    1 — Upload images with the ration of 640 : 250, so that the images will be cropped proportionally and hence wont be any unexpected cut.

    2 — Change the code to get the same full image in the home page too.

    if you want to go with #2, follow the following steps.

    In file content.php inside the theme folder, line number 22 code reads like

    <?php if ( has_post_thumbnail() ) : ?>
    		<div class="entry-thumbnail">
    			<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
    				<?php the_post_thumbnail( 'thumb-featured' ); ?>
    			</a>
    		</div>
    	<?php endif; ?>

    Remove the words <strong>thumb-featured</strong>

    so it will look like below

    <?php if ( has_post_thumbnail() ) : ?>
    		<div class="entry-thumbnail">
    			<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
    				<?php the_post_thumbnail(); ?>
    			</a>
    		</div>
    	<?php endif; ?>

    This will fetch full size images like it does in the single blog/post page.

    I would suggest you to make these changes using child theme, so that these changes doesnt get lost on theme update.

    Hope it helps!!

    Thanks

    Hi Maruti
    I am having the same problem as above and I am not good with technology. I am trying to follow your instructions for option number 2, I can see Content inside the theme folder but I can’t find content on my child folder.
    Do I need to copy and past your instructions? But where? In Theme Functions of the child folder?

    Hi spanishmummy

    You need to read more on child themes to know how to work with child themes. Codex is a nice place to start with.

    You need to copy the content.php file to the child theme directory and make the necessary changes.

    And make sure you have the child theme active ??

    Thanks, will try that

    Thread Starter sradmehr

    (@sradmehr)

    Hi Maruti!

    I’m back and I’m having the same issue again ?? my featured image is getting cropped on my home page with the new update. I tried fixing the code in content.php again like you mentioned before but it is not working. Can you please help me resolve this? My site is
    https://www.leathertolunch.com

    Thank you so much!

    Samira

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘featured image is getting cropped!’ is closed to new replies.