• Resolved padc

    (@padc)


    Hi,

    I would like an image within a table cell to use its native width and height instead of a percentage. How do I achieve this?

    In my case, I have tick and cross graphics that are 12 pixels by 12 pixels. Rather than having these resize based on a percentage, I would like them to maintain their native size.

    – Plugin version 1.3.4
    – WordPress version 5.7.1
    – Browser type Chrome 90
    – Operating system Mac OS 10.14.6
    – Live url for the web page this table issue occurs http://qudo-com.stackstaging.com/plans-pricing/

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor erdembircan

    (@erdembircan)

    Hello @padc,

    At the moment there is no sizing option other than percentage for image element, but more sizing options will be added with a future patch. In the meantime, if you want, we can write you a custom CSS that you can use in your table which will give you the layout you are trying to create.

    Best regards.

    Thread Starter padc

    (@padc)

    Hi @erdembircan,

    Thanks for getting back to me.

    It seems the percentage value is applied to images via inline CSS:
    <img src="//qudo-com.stackstaging.com/wp-content/uploads/2021/04/tick.png" height="12" width="12" style="width: 100%;">

    This makes it difficult to directly address the image size via my own stylesheet.

    Plugin Contributor erdembircan

    (@erdembircan)

    Hello @padc,

    Please use ‘extra styles’ input control under Settings > Styles. CSS styles entered to that control have priority over inline ones. This might solve your issue.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Use native image Size in cells’ is closed to new replies.