modzius
1
Hi,
Have problem with post featured image on first page. I tried change function.php line to:
add_image_size( ‘featured’, 968, 485, true );
and after this run plugin “regenerate thumbnails”, but nothing change, my post featured image still same size ang align by left.
What I need is all weight image or centered smaller image.
You could check on www.rustikokluonas.lt
I added screenshot also.
Hello there,
I hope you are doing well today.
You can use the following CSS code to move the image by going to Appearance > Customize > Additional CSS and pasting it there.
.post-featured-image {
margin: 0 auto;
}
Best Regards,
Support
modzius
3
Thank You so much! Its working for me.
What about full width size picture on post featured image? How I could post full width?
Hello there,
Try this CSS:
figure.post-featured-image img {
width: 100%;
}
.post-featured-image {
max-width: 100%;
}
Best Regards,
Support
modzius
5
Thank You so much, works fine for me!
Hello there,
I am glad the solution worked for you.
Please feel free to contact us again in the future regarding any other issues.
Best Regards,
Support