Home Forums Newsletter Plugin Support Images CSS tweaks – custom blocks

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #289228
    ndra
    Participant

    It is possible to pass CSS properties to the composer function to change properties for images, for example to get them to cover the container (they are currenty set to max-width: 100%)

    <table width=”<?php echo $td_width ?>” align=”right” class=”responsive” border=”0″ cellspacing=”0″ cellpadding=”0″>
    <tr>
    <td align=”center” valign=”top”>
    <?php echo TNP_Composer::image($media); ?>
    </td>
    </tr>
    </table>

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.