Help with the Doctor template - Forum | JoomShaper
Staff replied Templates

Help with the Doctor template

Asked by Giuseppe 6 months ago Last activity 6 months ago

I'm adding a blog to the portal, and I'd like to display the last three blog posts on the HOME page. I don't understand why the image is displayed oval. Is there a way to change it? The original image is horizontal.

I'm attaching a screenshot:
https://osteopata.giuseppecento.eu/error/image15.png
https://osteopata.giuseppecento.eu/error/image16.png

1 reply

Ofi Khan Staff

Hello Giuseppe,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. The image is oval because of template's CSS file.

Please use this CSS to
Template Options -> Custom Code -> Custom CSS to change it.

.sppb-addon-articles .sppb-addon-article .sppb-img-wrap img{
    border-radius: 0% !important;
}

Best regards

Giuseppe Asked this

Okay, now it's rectangular, but how can I resize it and make the image larger?

Ofi Khan Staff

Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup before sharing.

Giuseppe Asked this

Thank you for your time, but I solved the problem by adding the following custom CSS lines:

.sppb-addon-articles .sppb-addon-article .sppb-img-wrap {
display: table-cell;

width: 100% !important;
height: auto !important;
max-width: 350px !important;
}

Best regards

Ofi Khan Staff

You are welcome 😊

Glad to know this. Please mark it as accepted to close the post and guide others with similar questions. You’ll find a button to accept answers below each comment.

If you need further assistance, feel free to let us know!

Log in to reply.