
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CSS script to add bachground color for table header in qliksense(Custom Theme)
I am creating the custom theme to style the straight table. I have used below CSS code for hover row and strip color and it is working- .qvt-sheet { background: #eeeee4 !important; } .qv-object-content-container .qv-object-content table tr:nth-of-type(even) { background: #b53359 } .qv-object-content-container .qv-object-content table tr:hover { background-color: #ffff99; Can anyone help me to write code to add background color to header of straight table and what is the use of using '.qv-object-content-container .qv-object-content' in the script?
- Tags:
- css
- custom theme
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had to change the font color and background of the table, the below code worked for me:
.qv-object-content-container .qv-object-content table th{
background-color: #007490;
color: #fff !important;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perhaps this?
If you want as Hover i think you can use this
<Style>
.qv-object-content-container .qv-object-content:hover
{
background-color: #ffff99;
}
</Style>
If you need, Normal table without mouse over use this way
<Style>
.qv-object-content-container .qv-object-content
{
background-color: #ffff99;
}
</Style>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply,
but I always wanted to display background not on hover. Below code worked for me.
.qv-object-content-container .qv-object-content table th{
background-color: #ffff99;
}
Can we style tabbed container object? How can we add background color to activated tab?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can take a look at this attached theme,
it might help you.
Regards,
Ajay Kakkar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been trying to move the content-taps in the container object, to be shown vertically instead of horisontal with the css, without success. Would you know if this is possible ?
Regards,
Mads

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had to change the font color and background of the table, the below code worked for me:
.qv-object-content-container .qv-object-content table th{
background-color: #007490;
color: #fff !important;
}
