Adding and formatting tables in Help Center articles

Have more questions? Submit a request

38 Comments

  • Richard Hartley
    Comment actions Permalink

    @Digna - I had the same issue as you. 

    The Advanced option Brett refers to only appeared after I had ticked the "Display Unsafe Content" checkbox under Security in the Guide Settings.  However, it made no difference to my table when I applied it.

    0
  • Melody Quinn
    Comment actions Permalink

    @Brett - Thank you that worked for the cell properties, and you are right would be very tedious for each cell. Can you offer exactly what to edit in the CSS? I tried adding the padding to each of the table elements, but no luck. Thank you for your help!

    0
  • Brett - Community Manager
    Comment actions Permalink

    @Digna, Melody, and Richard, could you try editing your Guide CSS and add the following code snippet:

    .article-body td, .article-body th {
    padding: 20px;
    }

    I've added this to my Guide theme and that seems to have done the trick. You can change the 20px to the desired padding you'd like to set up.

    Let me know if this doesn't resolve the issue for you.

    Thanks!

    0
  • Melody Quinn
    Comment actions Permalink

    @Brett - worked! Thank you!

    0
  • Brett - Community Manager
    Comment actions Permalink

    Happy to help Melody :) 

    0
  • Digna van Nielen
    Comment actions Permalink

    Thanks @Brett! My tables are looking way better know :)

    1
  • Richard Hartley
    Comment actions Permalink

    @Brett - I have done the same and it's worked for me too.  Thank you.

    I was wary about editing the theme as I was trying to stick to using the "out of the box" version.  Will the standard template be being changed to fix the issue at some point, please?

    0
  • Brett - Community Manager
    Comment actions Permalink

    Hey Richard, 

    This is something our team is aware of so they are looking into other options outside of editing your Guide theme. Thanks again to everyone who has brought this to our attention!

    For now, I've created an article that goes over what code needs to be added to change the cell padding: Why don’t table settings in the editor match the published article?

    Let me know if you have any other questions :) 

    0

Please sign in to leave a comment.

Powered by Zendesk