• Resolved fredgre

    (@fredgre)


    Hi,

    I’m a debbie on WordPress and with CSS stuff. I wanted to have my images centered in a table. I added extracode and looked in preview mode. It’s fine.

    However, when I look at my webpage, images are not centered.

    I guess that the “page css” wins over my “custom css”. How can I manage this issue ?

    Thank you for your support

    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this most likely is that your theme also adds CSS code. This is not taken into account in the preview.
    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter fredgre

    (@fredgre)

    Hi Tobias,

    Thank you for your prompt reply. Here is the page:

    http://innamoratisempredipiu.it/?page_id=2&lang=en

    Best Regards,

    Frederic

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the link!

    To get the images centered, please change the last block of CSS to

    .tablepress img {
      display: inline-block;
    }

    Best wishes,
    Tobias

    P.S.: By the way, my wife and I will do the same thing on that same date 😀

    Thread Starter fredgre

    (@fredgre)

    Hi,

    It works great ! Thank you for your prompt reply.

    Best Regards,

    Frédéric

    PS: By the way, congrats for the same thing at the same date 🙂

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

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

The topic ‘custom CSS working in preview mode but not on the website’ is closed to new replies.