Disable Alternate Row Colors with own css class

DTAG
13 Posts
DTAG posted this 17 April 2016

Hi,

i want to have a table without alternate row colors. So add a css class to the table and set the background-color to transparent. But noting change. I see with Firefox, everything change the background color (JavaScript, CSS, i don't find the script).

Have anyone an idea, how can i disable the function for this table. Not global.

Thank you,

Stefan

Hi, i want to have a table without alternate row colors. So add a css class to the table and set the background-color to transparent. But noting change. I see with Firefox, everything change the background color (JavaScript, CSS, i don't find the script). Have anyone an idea, how can i disable the function for this table. Not global. Thank you, Stefan
Vote to pay developers attention to this features or issue.
7 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 18 April 2016

Hi,

You can try to disable it on the specific template used for that page.

Sincerely,
Hella

Hi, You can try to disable it on the specific template used for that page. Sincerely, Hella
DTAG
13 Posts
DTAG posted this 18 April 2016

And how? ;-)

And how? ;-)
Support Team
Support Team posted this 18 April 2016

Please attach your theme and let us know where you want to have the table without alternate rows.

Sincerely,
Hella

Please attach your theme and let us know where you want to have the table without alternate rows. Sincerely, Hella
DTAG
13 Posts
DTAG posted this 18 April 2016

Hi,

this is the table: http://243043.webhosting69.1blu.de/boxer/hunde/tammy-v-mississippi

Best regards,
Stefan

Hi, this is the table: http://243043.webhosting69.1blu.de/boxer/hunde/tammy-v-mississippi Best regards, Stefan
Support Team
Support Team posted this 21 April 2016

Hello Stefan,
the background color #f5f5f5 is specified for each table cell TD:

table:not([class]) tbody > tr:nth-child(odd) > td, .bd-tagstyles:not(.bd-custom-table) table tbody > tr:nth-child(odd) > td, .bd-table tbody > tr:nth-child(odd) > td, table:not([class]) tbody > tr:nth-child(odd) > th, .bd-tagstyles:not(.bd-custom-table) table tbody > tr:nth-child(odd) > th, .bd-table tbody > tr:nth-child(odd) > th {
    background-color: #f5f5f5;
    background-image: none;
}

You may change it here (file template.css)

regards,
Aileen

Hello Stefan, the background color #f5f5f5 is specified for each table cell TD: table:not([class]) tbody > tr:nth-child(odd) > td, .bd-tagstyles:not(.bd-custom-table) table tbody > tr:nth-child(odd) > td, .bd-table tbody > tr:nth-child(odd) > td, table:not([class]) tbody > tr:nth-child(odd) > th, .bd-tagstyles:not(.bd-custom-table) table tbody > tr:nth-child(odd) > th, .bd-table tbody > tr:nth-child(odd) > th { background-color: #f5f5f5; background-image: none; } You may change it here (file template.css) regards, Aileen
peterc
9 Posts
peterc posted this 21 February 2018

I have the same problem and this did not fix it. Have edited the template.css as above with the same background-color as the normal color #333333 but does not change when I upload the template.

I have the same problem and this did not fix it. Have edited the template.css as above with the same background-color as the normal color #333333 but does not change when I upload the template.

Last edited 21 February 2018 by peterc

Support Team
Support Team posted this 21 February 2018

Hi,

I have responded in another case to your post with the same question. We will probably need an access to the site back end with the directions to the page where you have the table.

Sincerely,
Hella

Hi, I have responded in another case to your post with the same question. We will probably need an access to the site back end with the directions to the page where you have the table. Sincerely, Hella
You must log in or register to leave comments