Viewing 1 replies (of 1 total)
  • Plugin Author Rattus

    (@pasyuk)

    Solution #1:
    You should set “table-layout: fixed;” for your tables
    Go to edit your theme style.css and add this rule:
    table { table-layout: fixed; }
    or add css rule inline:

    <table style="table-layout: fixed;">
      <tr>
        <td>
          [gmedia id=4]
        </td>
      </tr>
    </table>

    Solution #2: (not responsive)
    Wrap shortcode with DIV element which have width in px (percent doesn’t work in tables)

    <table>
      <tr>
        <td>
          <div style="width:500px;">[gmedia id=4]</div>
        </td>
      </tr>
    </table>

    set width to fit your layout.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin does not work properly in a table’ is closed to new replies.