Site logo

Archived topic

Unable to Contain image in Element

7 replies · Started by Adam on November 7, 2022

Viewing posts 1–8 of 8

Hi,

I am unable to contain the size of my image in the about the author section at the bottom of every post. I've tried adjusting the image size, and it does not work.

Please help.

Hi there,

the webP conversion is changing the blocks markup which breaks the GB styles
To fix that requires CSS:

1. Select the Image Block and in Advanced > Additional CSS CLass(es) add: author-image

2. save those changes.

3. Then go to Customizer > Additional CSS and add this:


.author-image img  {
    width: 95px;
    height: 120px;
    object-fit: contain;
    margin-right: 10px;
}

4. Clear any caches.

thank you

You're welcome

Got ahead of myself. I added it, and it's not working.

Now it works.

Thank you David

You're welcome!

This archived topic is closed to new replies.