Reduce the search result page featured image size

Nov 23, 2020 | Divi Tips | 0 comments

Add the following CSS code to the Divi theme options area or your child theme style.css file.

/* reduce the search result image size so it doesnt fill screen */
.search-results .entry-featured-image-url img {max-height:300px; width:auto;}


Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.