medium_large image size not displaying properly on the frontend?

I saw this problem recently on a project, and the answer is to disable responsive image markup. Simply add the below code into your theme’s functions.php and you are golden: add_filter( ‘wp_calculate_image_srcset’, ‘__return_false’ ); Ref: How do I disable responsive images in WP 4.4? Afterwards, you can insert the Medium Large a.k.a. medium_large images (if … Read more

wp_get_attachment_image with custom size not rendering possible 2x srcset image

It appears the problem was that image size variants were being capped by the max_srcset_image_width property that can be raised with the following: add_filter( ‘max_srcset_image_width’, ‘setSrcsetMaximumWidth’, 10, 2 ); function setSrcsetMaximumWidth( $max_srcset_image_width, $sizes_array ) { return 3200; } I was never aware of this before and have no idea why I never ran into this.

mobile menu is not showing

I had the same problem with the Hello Elementor theme and the mobile menu. I found an option that worked for me and that was to disable the Built-in Icon Fonts feature in Elementor settings. Hope it works for you

tech