Archived topic
Rightside Bar Images in Center
5 replies · Started by Dev on January 28, 2021
Hello,
I used the below CSS to make the sidebar images in the center. But that's NOT working.
@media (min-width: 769px) {
.post-image-aligned-left .post-image img {
max-width: 405px;
}
}
Hi there,
use this CSS to force the image to fill the available space:
.sidebar .widget_media_image img {
width: 100%;
}
OR you can use this CSS to center the image:
.sidebar .widget_media_image {
text-align: center;
}
Thanks.
You're welcome
Hello,
I was using the below CSS to keep the things in the center. But I don't know why it has stopped working. I tried other CSS mention on this page, but none of them are working.
.sidebar .widget_media_image {
text-align: center;
}
See the answer here:
https://generatepress.com/forums/topic/breadcrumbs-font-custom-color/#post-1648315
Looks to be the same problem