Okay
  Public Ticket #2459202
Table with transparant backgorund.
Closed

Comments

  •  3
    CSH2016 started the conversation

    Hi,

    I'm trying to give my table a transparant background. But it does not seem to work:

    background: transparant;
    background-image: none;
    background-color: transparant;

    The background stays white - grey. I can't seem to figure out where that color is coming from?

    Thanks in advance!

    Best,
    Tim



  •  2,979
    Andrew replied

    Hi Tim,

    Share a link to your website so that we see possible css. Also "transparent" should have correct spelling and not "transparant" as you wrote.

    Thanks.

  •   CSH2016 replied privately
  •  2,979
    Andrew replied

    Hi Tim,

    Use the following custom css:

    body:not(.woocommerce-cart) .main-content table {
        background: transparent;
    }
    

    Hope this helps.

  •  3
    CSH2016 replied

    Hi Andrew,

    Thanks! Every other row is transparent now. Just the odd rows are still grey.

    Any idea why I can't find the background setting in the developer tools?

    Best,
    Tim

  •  2,979
    Andrew replied

    Hi Tim,

    The following will ensure all rows are transparent:

    body:not(.woocommerce-cart) .main-content table tr {
        background: transparent !important;
    }
    

    Thanks.