Need help with a table HTML / CSS

I would like my table to be like this “Title background is black, word is white. Below words is black but background is grey”

  • Ohidul Islam
    • Staff

    Hello there,

    Thanks for coming to our support, hope you’re having a nice day!

    We have rewritten your Table HTML code, please copy the code from here and paste in your Raw HTML module.

    Also it needs some CSS to style the table. Here’s I’ve pasted couple of lines custom CSS that will give a nice look to the table.

    .black-header{
    background-color: black;
    color: white;
    }
    .gray-bg{
    background-color: grey;
    }
    .gray-bg a {
    color: black !important;
    }
    table{
    width: 100%;
    }

    Would you please navigate to Appearance –> Customize –> Additional CSS and paste the code above there? So it will be global CSS styles. Now you can use that HTML table in any page or post.

    This is how it will look when you apply both HTML and CSS. Please check it from here

    Hope this helps, let me know if you have need any more assistance.

    Kind regards,

    Ohid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.