custom css not loading | WordPress.org

[ad_1]

Hi,

thanks for your post, and sorry for the trouble.

From what I can see, there is CSS code related to TablePress loaded multiple times (at least on the front page). Where exactly is which CSS not working?

Regards,
Tobias

Thread Starter
lanapr

(@lanapr)

Thank you for you quick response.

I am trying to delete background color of the cells, so I added css multiple ways, including plugin options custom css, but it still doesn’t work.
Custom css is:

.tablepress,
.tablepress tr,
.tablepress tbody td,
.tablepress thead th,
.tablepress tfoot th,
table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th {
border: none !important;
border-collapse: collapse !important;
background-color: none !important;
color: black !important;
–odd-text-color: black !important;
–odd-bg-color: none !important;
–even-text-color: black !important;
–even-bg-color: none !important;
–hover-text-color: none !important;
–hover-bg-color: none !important;
}

.tablepress .odd td,
.tablepress .even td {
background-color: none !important;
color: black !important;
}

.tablepress {
–hover-text-color: none;
–hover-bg-color: none;
}

body {
overflow-x: 0;
}

Thank you for you time!

  • This reply was modified 9 minutes ago by lanapr.

Hi,

thanks for the explanation. I believe that

background-color: none !important;

is the issue here. Please try

background: none !important;

instead.

Regards,
Tobias

Thread Starter
lanapr

(@lanapr)

I thought it could be something so easy… 🙂
Thank you so much for your plugin and your time!
Bests!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer