Divi Tips

TIPS
Divi Tips

View All

Reduce the search result page featured image size

Add the following CSS code to the Divi theme options area or your child theme style.css file. [css] /* reduce the search result image size so it doesnt fill screen */ .search-results .entry-featured-image-url img {max-height:300px; width:auto;}...

read more

Swap Divi columns on mobile and tablet devices

Add the CSS class "flip" to any Divi row settings in the Advanced tab. Add the following CSS code to the Divi theme options area or your child theme style.css file. [css] /* swap columns on mobile */ @media only screen and ( max-width: 980px) {...

read more
WooCommerce Tips

View All

How to Change In Stock text in WooCommerce

Add the following PHP code to your child theme functions.php file. [php] /* Change In Stock text in WooCommerce */ add_filter( 'woocommerce_get_availability', 'wcs_custom_get_availability', 1, 2); function wcs_custom_get_availability(...

read more