- This topic has 9 replies, 3 voices, and was last updated 2 years, 11 months ago by
David.
-
AuthorPosts
-
April 7, 2023 at 2:29 am #2600649
Mel
Hi, I would like to change the change default size of featured image on single posts page please.
How do I do that?April 7, 2023 at 6:42 am #2600860David
StaffCustomer SupportHi there,
if its a default install of GP then you can use the Customizer > Layout > Blog:
https://docs.generatepress.com/article/adjusting-the-featured-images/
There you have Archive, Post and Pages tabs where you set the Media Attachment size of the Featured Image
If its on a site that was imported from a site library then i would need to see the site.
April 7, 2023 at 1:45 pm #2601461Mel
Hi,
It is the MyPet, a site that was imported from a site library.
Please have a look at it, thanks.
I made custom posts that link from the “Aktuelles” section on the bottom of the home page to the single custom posts. On these, I want the featured image smaller.
Thanks.April 7, 2023 at 2:28 pm #2601520Ying
StaffCustomer SupportI’m not sure which image are you referring to, do you mean this image banner?
https://www.screencast.com/t/vWLe1LhWGJKuIf so, these are not featured images.
Or do you mean this?
https://www.screencast.com/t/kSYyLrdJIf so, how would you like it to be smaller? I can not see a way to make it smaller and look great, can you show us a mockup?
April 7, 2023 at 4:00 pm #2601586Mel
Hi, I followed David’s advice and changed the featured image size in use the Customizer > Layout > Blog.
That worked.Is there a way to make default rounded corners for the featured image?
Thanks
MelApril 8, 2023 at 2:31 am #2601868David
StaffCustomer SupportIt requires some CSS, and depending on how the featured image is displayed will affect that CSS.
Can i see a post with the image ?April 8, 2023 at 2:42 am #2601876Mel
Thanks, David for the reply. The link to the Post with the image is
https://www.hundetraining-mit-roya.at/staging/aktuelles/lernspaziergang/I also would like rounded corners for the featured image in New Pages. Here is a Page with a featured image:
https://www.hundetraining-mit-roya.at/staging/new-test-page/Both these pages need login to view, please see details in the Private Information field.
April 8, 2023 at 2:53 am #2601886David
StaffCustomer SupportTry this CSS:
.featured-image img { border-radius: 10px; overflow: hidden; }April 8, 2023 at 3:12 am #2601894Mel
That’s great, it worked.
Thanks very much!April 10, 2023 at 2:53 am #2603779David
StaffCustomer SupportGlad to hear that!
-
AuthorPosts
- You must be logged in to reply to this topic.