• I am placing a html table into the page of my site using the Hemingway theme, and the table background defaults to a light grey colour. I’d like the table to just to be transparent or white. I know that I need to change these settings is my CSS Style Sheet. Is anyone able to guide me as to which bit of code I need to update? Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @adamsurridge,

    Go to Appearance → Customize → Additional CSS (the menu labels might be different in your language) and add the code below:

    .post-content table tbody > tr:nth-child(2n+1) > td { background-color: transparent; }

    Let me know if that does it.

    — Anders

    • This reply was modified 4 years, 8 months ago by Anders Norén.
    Thread Starter adamsurridge

    (@adamsurridge)

    That worked perfectly! There is one remaining issue; the table seems to have a top and bottom border, but I’d like that to be invisible and images places into pages seem to have the same border. What code would I need to remove these?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Table Colour’ is closed to new replies.