Color in the grid´s column titles

aldiaz76
aldiaz76
  • aldiaz76
  • 11 months ago

Hi, I´ve tried to add this CSS rules but unfortunately I haven´t had luck, my intention is to color the columns titles in the grids, using chrome devtools worked, but when I add the rules to the CSS in J4 Cassiopea template they don´t work, not sure why. Should I have to place the css rules in the component css files directly? 

 
.col-md-2.text-md-center.column-title:nth-child(3){    //number 3 corresponds to the second answer
    background-color: red;
    border: 3px solid white;
}
Attachments

Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai