WordPress.org

Ready to get started?Download WordPress

Forums

Esplanade
post images not responsive (1 post)

  1. photosite.de
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags