Archived topic
Images in header element appear different sizes
5 replies · Started by William on August 21, 2020
Hi there,
I noticed the images in the header of category pages and post pages appear different, where I want them to be consistent.
Example category page and example post page
I'm not sure why this is occurring?
Kind regards,
Will
Hi there,
Since you are using this CSS:
.page-hero #category_image img {
vertical-align: bottom;
max-height: 150px;
min-width: 100px;
}
max-heightand min-width are both not "consistent" properties.
Maybe try width and height instead?
What if you only use the max-width property only?
This article might be worth a read:
https://www.w3schools.com/css/css3_images.asp
That works a charm :) thank you.
I have one other small CSS regarding the header element, should I open up a new topic or push it here?
A new topic would be good.