XF 2.1 Table

Tamara-Jasmin

Active member
Hi, I'm a bit desperate with the tables.
th has a white background with white text;)
No problem ... I thought ...

/* Ansicht des Tabellenheaders */ .bbTable > table > thead > tr > th, .bbTable > table > tbody > tr > th {background: #707070 !important;}

the CSS in extra.less does not work. Also not important.
th alone does not help.

Does somebody has any idea?
Thank you:
Tammy
 
I have no standard. Who works with standard;)

There are many things with CSS extended and changed. For tables there is apparently no style variable yet.

Will surely come. So you can not work with it anyway. You can only edit one cell at a time. Create a legal list with 8 user groups. I did it. After 2 hours I only worked directly on the source code of the BB code.

With CSS, I have no problems normally. Possibly. I have to check again if I have specified somewhere only one class without ID. So wrongly addressed globally and not in one area. Nevertheless that would have to help! Important.

LG: Tammy
 
!important;
You shouldn't use the important flag. This can cause problems.
Here's a little explanation.

This works perfectly for me.
CSS:
.bbTable > table > thead > tr > th, .bbTable > table > tbody > tr > th {
    background-color: black;
    border-bottom-color: black;
}

for the tables you have to use the following:
CSS:
.bbTable > table > thead > tr > td, .bbTable > table > tbody > tr > td {
    background-color: black;
}
 
Last edited:
You shouldn't use the important flag. This can cause problems.
to test but a good help

For the rest, it's not about td, but about the head of the table - th

You can see on http://www.straftaten24.com/threads/rechteliste-der-wichtigsten-nutzergruppen.2/

user: straftaten24
pw: straftaten24!

In the developertool the change are not a problem. in extra.less she does not attack

LG: Tammy

Note: I deleted the content of extra.less to see if any of my codes caused the error. No change.
 
Last edited:
Write the following in the extra.less i have tested it in my forum and it works fine
CSS:
.bbTable > table > thead > tr > th, .bbTable > table > tbody > tr > th {
background-color: black;
border-bottom-color: black;
}
 
Back
Top Bottom