WordPress.org

Support

Support » Plugins and Hacks » TinyMCE Advanced » [Resolved] Table not displaying correctly

[Resolved] Table not displaying correctly

  • Hi

    I’ve installed TinyMCE Advanced but when I add a table to a page, non of the cell padding, spacing or border properties show.

    Bizarrely it shows correctly for a split second if I update the page on my dashboard, then jumps back to the incorrect version.

    See http://www.heliweb.co.uk
    There should be a 2×2 row/col table with 8px cell padding, 8px cell spacing, and 8px border.
    Blue border, red background.

    I have a feeling it’s being overwritten from somewhere else, but have looked to remove all other table properties.

    Help please!

    https://wordpress.org/plugins/tinymce-advanced/

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

    @azaozz

    The display of tables (and everything else) on the front-end is controlled by your theme. The old attributes: cellpadding, cellspacing, border, etc. are overridden with the theme’s CSS.

    Best thing to do is to tweak the styles for tables in your theme. You’ll need to maintain the tweaks after theme updates. Or you can try making a “child theme” so you won’t need to maintain the “parent”.

    Actually you can accomplish this without digging in to your theme’s stylesheet.

    Highlight the table cells you want set padding, spacing, and border for.

    Click on the Table Cell Properties button

    Click on the Advanced tab

    Use the color pickers to set border color and background color. When you do you will see that the ‘Style’ field is being filled in with the corresponding CSS. TO set padding, just append “padding:3px” to the Style field value.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Table not displaying correctly’ is closed to new replies.
Skip to toolbar