Community Forums › Forums › Archived Forums › Design Tips and Tricks › How do I change the display size of the featured image on individual posts?
Tagged: Breakthrough Pro, featured image
- This topic has 6 replies, 3 voices, and was last updated 5 years, 11 months ago by Yumei.
-
AuthorPosts
-
January 17, 2019 at 10:57 pm #337903YumeiParticipant
The default display size (Breakthrough Pro) is huge (it splashes across the page). I'd like to keep the featured image (so the image shows on the archive page), but have it displayed at a much smaller size--say 400px x 200px.
For example, on this page: http://yumeil.sgedu.site/alumni2/2019/01/17/post-6/, I'd like the featured image to display like the one inserted into the post content (with Santa and dog), NOT like the default featured image (the hand on "Start").
I've been trying different things but can't quite do it. Any help will be greatly appreciated.
http://yumeil.sgedu.site/alumni2/2019/01/17/post-6/January 23, 2019 at 1:46 am #428669Brad DaltonParticipantYour links are broken however there's 2 ways you could try.
1. Use CSS to control the image size.
or
2. Modify the code in the breakthrough_featured_image function located inside the images.php file.
January 23, 2019 at 11:15 am #435514YumeiParticipantThanks for responding! The problem got fixed, thanks to someone from the Studio Press support desk. I initially couldn't get rid of the featured image (even when the default setting was not to display featured image), so I wanted to make it smaller.
The solution was to "detach" the featured image, so it wouldn't show up at all when the setting was NOT to show featured image. It's a bit of a hassle, but it's resolved.
I do wonder if this was an issue--that a featured image, once set, must be manually detached for it to go away. No other themes I've used have this problem.
January 23, 2019 at 7:26 pm #440682Brad DaltonParticipantThere's a setting in the customizer :
Show featured image on posts? Check the box if you would like to display the featured image above the content on single posts.
When i uncheck this setting, the featured image is removed.
January 24, 2019 at 7:06 pm #455674YumeiParticipantThat's not the issue. When the featured image has removed, the image shouldn't appear, regardless of the setting. When there is no featured image in the "featured image" box in the customizer, but the previous image continues to appear, that is an issue. Fortunately someone showed me how to bypass the problem, but it is a problem.
January 25, 2019 at 6:11 pm #470933ZealMemberJanuary 27, 2019 at 3:57 pm #489068YumeiParticipantOk. Now I assume you have the same problems as I had, which are: 1) the featured image remains, even after it's been removed; 2) whatever image you might have inserted into the content or the featured image box (in customizer) keeps appearing as the featured image, even after it's been removed.
The trick is to go to the media files, and manually detach the offending image.
Specifically, take these steps:
1. click on "media" in the dashboard;
2. select the list view;
3. In the column "uploaded to" (between "author" and "date"), you'll find the page the image is attached to. Find your image, click on "detach".Viola! The featured image no longer shows up on the page.
Now, sometimes one wants to have an image associated with a post or page, so that the image shows up on the archive page. What I have done is to insert an image into the content and it automatically serves as the featured image on archive pages, but it doesn't show up as an oversized featured image on the page.
Wish I could upload screenshots to show you. Hope this makes sense.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.