![Ajith_Raja_QlikSense_0-1723206129250.png Ajith_Raja_QlikSense_0-1723206129250.png](https://community.qlik.com/t5/image/serverpage/image-id/170440i3460923D03D2EB22/image-size/medium?v=v2&px=400)
Hi,
I am using the Straight Table under the Custom Object , But I am unable to use CSS for this table.
I am using below CSS in Multi KPI for normal table which is working fine.
Kindly help me to use the CSS in Straight Table,
/*css code to color alternate rows in a table*/
.qv-object-table .qv-inner-object .qv-object-content-container .qv-grid-object-scroll-area table tr:nth-child(even) {
background: #e7f2fd
}
.qv-object-table .qv-inner-object .qv-object-content-container .qv-grid-object-scroll-area table tr:nth-child(odd) {
background: #ffffff
}
/*CSS to bold text and background color column header*/
.qv-st table th{
font-weight: bold;
}
/*Background color for total*/
.qv-st-total-cell {
background-color: #271e79 !important;
color: #ffff !important;
}
/*To give background color to header*/
.qv-object-content-container .qv-object-content table th{
background-color: #271e79;
color: #271e79 !important;
}