- This topic has 9 replies, 2 voices, and was last updated 5 years, 8 months ago by
Anonymous.
- AuthorPosts
- September 13, 2017 at 09:59 #15510
AnonymousInactiveHi, in my site i have hundreds of tables. Is possible to define a single css for all the tables?
Many thanks.September 13, 2017 at 17:49 #15520
mila_supportMemberHi @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.September 13, 2017 at 22:47 #15528
AnonymousInactiveis the following example code right?:
#supsystic-table tbody tr { background-color: #f8ef92; }
Thanks.
September 15, 2017 at 16:41 #15544
mila_supportMemberHi @marcostupendo
There is the correct code:
.supsystic-table tbody tr { background-color: #f8ef92; }
September 15, 2017 at 18:48 #15547
AnonymousInactivesorry 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
September 16, 2017 at 10:23 #15549
mila_supportMemberHi, @marcostupendo
Your issue is redirected to our developer. I will inform you about the update
September 18, 2017 at 17:29 #15572
mila_supportMemberHi @marcostupendo
Please provide the page link on your site with at least one table. Thus I can help you.
September 19, 2017 at 16:38 #15582
AnonymousInactivehttps://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
September 20, 2017 at 16:58 #15592
mila_supportMemberHi @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.
September 20, 2017 at 20:15 #15594
AnonymousInactiveit’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.
- AuthorPosts
- You must be logged in to reply to this topic.