single css for many tables

Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #15510

    Anonymous
    Inactive

    Hi, in my site i have hundreds of tables. Is possible to define a single css for all the tables?
    Many thanks.

    #15520

    Hi @marcostupendo

    Yes, it is possible to make one css style for every table. Each table, created in our plugin has common css class –
    supsystic-table
    you can create common css styles based on this class inside your theme settings
    or at theme file style.css.

    #15528

    Anonymous
    Inactive

    is the following example code right?:
    #supsystic-table tbody tr { background-color: #f8ef92; }

    Thanks.

    #15544

    Hi @marcostupendo

    There is the correct code:

    .supsystic-table tbody tr { background-color: #f8ef92; }

    #15547

    Anonymous
    Inactive

    sorry but with your code not work!

    with this code

    #supsystic-table-1 tbody tr { background-color: #f8ef92;  }
    #supsystic-table-2 tbody tr { background-color: #f8ef92; } 

    works, but only for table one and two

    #15549

    Hi, @marcostupendo

    Your issue is redirected to our developer. I will inform you about the update

    #15572

    Hi @marcostupendo

    Please provide the page link on your site with at least one table. Thus I can help you.

    #15582

    Anonymous
    Inactive

    https://www.cervignanonostra.it/mostra-rivista/1-maggio-2009/

    the code css for the table is

    #supsystic-table-1 tbody tr { background-color: #f8ef92; }
    #supsystic-table-1 th { background-color: #d94b1a; color: #fff; }

    valid only for the table one.

    Many thanks

    #15592

    Hi @marcostupendo

    Please, try this code to the CSS editor of your Data Table plugin:

    table.supsystic-table tr, table.supsystic-table th {
        background: #f8ef92!important;
    }
            
    table.supsystic-table thead tr, table.supsystic-table thead th {
        background: #d94b1a!important;
    }

    Note, instead of #f8ef92 – insert code of color you need.

    #15594

    Anonymous
    Inactive

    it’s works!!

    but not on the css editor of the plugin, i put it in the css of my wordpress theme.

    Many thanks in every case.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Thanks so much! Please Enter Your Info Below To Get PRO Discount and Gifts