Support » Theme: Esplanade » post images not responsive

  • the function esplanade_post_image() does not create image tags which are fully responsive.

    You have to replace
    <figure class=”wp-caption” style=”margin:0 auto; width:<?php echo $image[1] + 10; ?>px”>

    with
    <figure class=”wp-caption” style=”margin:0 auto; max-width:<?php echo $image[1] + 10; ?>px”>

    occurring three times in this function to do the magic.

    Regards,
    Mario

  • The topic ‘post images not responsive’ is closed to new replies.