Adding and formatting tables in Help Center articles Follow

Comments

12 comments

  • Avatar
    Géraldine Peyre

    What are we supposed to enter in border? A color? A format? Anything else?

  • Avatar
    Nicole - Community Manager

    Hi Geraldine - 

    Typically, you would enter how many pixels thick you wish for the border to be, so it will be a numeric value. 

  • Avatar
    Janet Julian

    Is there any way to format a particular cell (rather than the whole table) aside from diving into the html?  For instance, if I want to provide a background color for a header row or highlight specific rows of a table with a background color?

  • Avatar
    Alexander Popa (Edited )

    Hi Janet! 

    This can be done either by amending the table's cell properties - by accessing the Advanced tab, or by editing the HTML code of the article.

    I hope this helps!

  • Avatar
    Janet Julian

    Thanks Alexander, it did a bit.

    Another question ... when selecting font color it doesn't allow me to pick white.  If I'm using a dark background I like to use a white font.  Is there a way to make it white?

     

    Thanks,

    Janet

  • Avatar
    Klara Audren

    Hello Janet, 

     

    You would need to change the font color in the CSS in the advanced tab or acessing the HTML code of the article.

  • Avatar
    Katie Novack

    How do I make the table borders show?

  • Avatar
    Vladan Jovic

    HI Katie, This one should work.

    Just copy and paste this code at the end of your Help Center theme CSS file.

    .article-body table td {
    border: 1px solid;
    }

    Let us know how it goes. :) 

  • Avatar
    Marie O'Brien

    Hi,


    How do we make the tables centred? I've got most of the other formatting as I want it now - but struggling on making the table centred in the article. My figures etc all centre correctly using the text alignment item

     

    Thanks

    Marie

  • Avatar
    Fabien RIC

    It would be useful to be able to specify a name of a CSS class in the properties of the table (or row / or column or cell...).

    We would then just have to define the CSS classes in the theme of the help center.

    It would allow to have several consistent styles across the theme center, while allowing articles authors to focus on the content and not how it will be rendered. Moreover, we could flag some cells with a different class name, to underline important information (change background color for exemple).

  • Avatar
    Jessie - Community Manager

    Hi Fabien! That's really great feedback!

    If you don't mind taking a couple minutes, it would be great if you could add your suggestions to this thread in our Product Feedback topic!

  • Avatar
    Fabien RIC

    Done

Please sign in to leave a comment.

Powered by Zendesk