/* Custom CSS for all post images */ .post img { max-width: 500px; /* Limit width to 500px */ height: auto; /* Maintain aspect ratio */ width: 100%; /* Ensure image fills container */ max-height: 500px; /* Limit height to 500px */ } img { max-width: 500px; /* Limit width to 500px */ height: auto; /* Maintain aspect ratio */ width: 150%; /* Ensure image fills container */ max-height: 500px; /* Limit height to 500px */ } .attachment-ecomall_blog_thumb { max-width: 350px; /* Limit width to 500px */ height: 300px; /* Maintain aspect ratio */ width: ; /* Ensure image fills container */ max-height: px; /* Limit height to 500px */ } .woocommerce .products .product a img { margin: ; box-shadow: none; width: 100%; height:250px; transition: 300ms ease; } .heading-title.product-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; height: 43px; font-size: inherit; } .price, .wishlist_table .product-price, .products .meta-wrapper > .price { display: none; flex-wrap: wrap; align-items: center; line-height: 22px !important; gap: 0 6px; } .post_list_widget li .thumbnail, .list-posts article .entry-format figure, .ts-blogs article .thumbnail-content figure { overflow: hidden; background: floralwhite; } span[style="color:#b12704"] { display: none; } .post-title{ display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: 80px; font-size: 20px; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter