- This topic has 8 replies, 2 voices, and was last updated 1 year, 4 months ago by
Hans.
-
AuthorPosts
-
May 16, 2022 at 11:23 am #305036
Hans
ParticipantHello Skandha,
I found the solution for images occurring twice. Sorry for bothering you.
Still one question. The header image seems to cut off some part of the image. How is it possible to prevent that?
Kind regards
Hans Hagmeijer
May 17, 2022 at 12:57 am #305056Skandha
Participant@toerfiets: Hello Hans,
Can you please post a screenshot and let me know where the Header Image is getting cut off so that I can look into the issue?
Kind Regards,
SkandhaMay 17, 2022 at 3:24 am #305068Hans
ParticipantHello Skandha,
This is the image (640 x 480) as it is.
This is the screenshot of the header with the same image.
Kind regards
Hans Hagmeijer
May 17, 2022 at 4:11 am #305072Skandha
Participant@toerfiets: Hello Hans,
Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
.header-media::before { background-image: unset; } .header-media .post-thumbnail img { display: block; } .custom-header-content { padding: 20px 30px; background-color: #fff; } .custom-header-content .entry-title { color: #000; }
Let me know if this works out!
Kind Regards,
SkandhaMay 17, 2022 at 4:33 am #305078Hans
ParticipantHello Skandha,
This is working, but now the header image is very big (high). Is there a way to make the header image as it is now but much less high. Now on my laptop I only see an image even if I scroll down.
Kind regards
Hans Hagmeijer
May 17, 2022 at 6:28 am #305089Skandha
Participant@toerfiets: Hello Hans,
Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
.header-media { background-color: unset; } .header-media .post-thumbnail img { max-width: 800px; }
You can change the max width according to your choice.
Let me know if this works out!
Kind Regards,
SkandhaMay 17, 2022 at 7:00 am #305091Hans
ParticipantHello Skandha,
This didn’t work out well as you can see here.
The height now is correct. But now the width isn’t correct.
Even the home page doesn’t have a correct header now.
If I try to make the image wider and less height in CSS, than the proportions of people and things aren’t correct.Maybe I have to use another format of images. The problem is limited to the featured content, I think.
Kind regards
Hans Hagmeijer
May 18, 2022 at 1:47 am #305138Skandha
Participant@toerfiets: Hello Hans,
This issue will appear when the image has large height like in the page A-groep. This will work if you have featured images of the aspect ratio 16:9 or similar.
Kind Regards,
SkandhaMay 18, 2022 at 5:03 am #305143Hans
ParticipantHello Skandha,
The prescribed ingot for featured content is 640 x 480. To me that is an aspect ratio 16:12. If I use an image with that aspect ratio, than the header image is too big or cuts off a part of the image. So the featured image with 640 x 480 is not usable, seems to me.
The image on the home page is 1900 x 800 px.
Most images have a aspect ratio 16:12. That means, that images made with that aspect ratio are according to me not usable, because I have to cut off a part of the height.In theme instructions I cannot find the prescriptions for the header image.
Kind regards
Hans Hagmeijer
-
AuthorPosts
- The topic ‘featured image’ is closed to new replies.