• Resolved pcwzrd13

    (@pcwzrd13)


    I’m having a problem setting the background color of the Tables block with this theme. No matter what I set it to, the preview / published site just show an alternating white and gray background. It’s definitely an issue with this particular theme as it’s fine if I switch to a different one. I really like this theme so I would hate to have to switch to a different one just because of this one thing.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Branko

    (@brankoconjic)

    Hey,

    The theme adds default table colors and that default color has probably overridden the background color of the table block.

    Are you using a plugin for the table block? Let me know which one so I can take a look into that. This compatibility issue will be fixed in the next theme update.

    For now, I can send you the CSS code to manually change the table color (until the update is released). Please send a link to your website where you are using the table.

    Thanks!

    Thread Starter pcwzrd13

    (@pcwzrd13)

    Ok thanks. Here’s the page:

    https://test.dreamcastlive.net/games/

    I’m using the standard WP table block.

    • This reply was modified 4 years, 8 months ago by pcwzrd13.
    Branko

    (@brankoconjic)

    Try this CSS:

    table:not(.variations):not(.shop_table) {
      background: none;
    }
    
    table:not(.variations):not(.shop_table) tbody tr:nth-child(odd) {
      background-color: rgba(255,255,255,.15);
    }

    You can add the CSS code into the “Additional CSS” field in the Customizer.

    This CSS will hardcode the background color of tables. Feel free to modify the colors.

    Thread Starter pcwzrd13

    (@pcwzrd13)

    That worked perfectly! Thanks!

    hi, the css provided does not work for me, can you please confirm this is still working? thanks

    Branko

    (@brankoconjic)

    Hey @glitzzz1,

    Please open a separate topic and explain the issue, I will reply there.

    Thanks!

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