• Resolved talltalesbooks

    (@talltalesbooks)


    Hi Tobias!

    Great plug-in! Thanks for creating it!

    I know virtually nothing about HTML and CSS, so please be patient. I only know what I’ve figured out on my own.

    I currently have a table on our site (www.talltalesbooks.ca) and I have tried to center all cell contents. However, the images are not centering correctly because of some padding.

    I found this in our style CSS through Firebug:
    .primary img {
    padding-left: 15px !important;
    padding-right: 0px !important;
    max-width: 100%;
    }

    From what I understand it is the “!important” declaration that is causing this, but removing it messes up the current contents of the site.

    Is there any way to override this styling through the table’s CSS?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    can you try adding “Custom CSS” like this:

    .primary .wp-table-reloaded img {
    padding: 0px!important;
    }

    That should remove any padding, but only from images inside a table. All other images should work as before.

    Regards,
    Tobias

    Thread Starter talltalesbooks

    (@talltalesbooks)

    Thank you Tobias – that worked!

    Thanks for taking the time to help me! I appreciate it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: wp-table-reloaded] Centering image, overriding style CSS’ is closed to new replies.