background color disappears after short flash

background color disappears after short flash

atelieragileatelieragile Posts: 1Questions: 1Answers: 0

When including the Fixed Columns with Bootstrap 4 the row background colors disappear. On inspecting in Chrome Dev Tools the correct BG color shows, but is not displayed. Even a style attribute inside the tr tag is ignored. The correct background color flashes shorty though.

This question has an accepted answers - jump to answer


  • allanallan Posts: 61,585Questions: 1Answers: 10,084 Site admin
    Answer ✓

    Bootstrap 4 applies its background colours to the td elements which is why you are seeing what you are (nothing to do with DataTables of FixedHeader). The effect is that the td background is overlaying the tr background.

    To workaround it you'd need to target your background to the td cells: .


Sign In or Register to comment.