How can we achieve this image css style?

CSS Approach: For a purely triangular corner in css, see this blog post Code a Simple Folded Corner Effect With CSS or this Folded Corner example on Codepen You can then add the rotated “Answer” text as an absolutely positioned div with the css transform: rotate property. However, if you absolutely have to the curled … Read more

add_image_size limiting sizes (???)

WordPress has its own built-in image sizes. These sizes are: thumbnail // Thumbnail (default 150px x 150px max) medium // Medium resolution (default 300px x 300px max) medium_large // Medium-large resolution (default 768px x null max) large // Large resolution (default 640px x 640px max) The medium-large image size has no height set, meaning that … Read more

New portfolio items appearing smaller on the grid

Are your source images all of the same size ? If you hover the src attribute for your images with the Chrome Developper Tools, it will tell you the natural size. For the smaller images, the natural size is: 292 x 190, 400×260. For the bigger images, the natural size is: 306×260 (all seem to … Read more

Custom image sizes quality

Need both: add_filter(‘jpeg_quality’, function($arg){return 100;}); add_filter( ‘wp_editor_set_quality’, function($arg){return 100;} );