• In Firefox, images within a TablePress table that link to another page get centred without any additional CSS. In Chrome, however, only standard images get centred, whereas images that are enclosed within an anchor tag are moved to the left side of the cell.

    How do I fix this? I have tried changing the alignment properties for various elements of the table, as well as for the table itself, but without any success.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    thanks for your question, and sorry for the trouble.

    This is likely caused by CSS code in your theme. 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 jkneif

    (@jkneif)

    Hi Tobias,

    Thanks for your reply.

    I managed to fix the problem by adding

    .tablepress td img {
    	text-align: center;
    }

    to the CSS of the child theme that I had created. For some reason it didn’t work when I added it to the main theme, but it’s working fine now.

    Best wishes,

    Jennifer

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that you found a solution!

    Best wishes,
    Tobias

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

The topic ‘[TablePress] Centering image links?’ is closed to new replies.