Staff replied SP Page Builder

Problem with thumbnails height on Articles

Asked by ARPIdeas 3 years ago Last activity 3 years ago

Hi, I want to setup one height for all articles on Content - > Articles view. Now, when I added images with diffrent height then my view on this isnt good - I added pictures with one height but this generate too much job for this simple issue. There must be some option. I want to change this for more narrow.

5 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Do you want to reduce the articles image width?

-Regards.

ARPIdeas Asked this

Yes

Mehtaz Afsana Borsha Staff

Use this custom css

.sppb-carousel-inner>.sppb-item>a>img, .sppb-carousel-inner>.sppb-item>img, .sppb-img-responsive{
    width: 250px !important;
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

ARPIdeas Asked this

Unfortunately, this change also affects other graphics in SP Builder, not just the thumbnails in the article.

Mehtaz Afsana Borsha Staff

Sorry delete my previous CSS and use this one

.sppb-article-img-wrap img{
    width: 250px !important;
}
Log in to reply.