cancel
Showing results for 
Search instead for 
Did you mean: 

Change widget header background color

ElementUX
8 - Cloud Apps
8 - Cloud Apps

Trying to change the widget title background color.  I am using custom css code for card look. 

The following widget code allows me to change border radius/color.  Trying to use similar "widget-header'  to no avail.  Any ideas?  Thx!

$('.widget')
    .css('border-radius','10px')
    .css('border', '#c8c8c8 solid 1px');

$('.widget-header')
    .css('background-color','#f2f2f2');

ElementUX_1-1651694032138.png

 

1 ACCEPTED SOLUTION

harikm007
12 - Data Integration
12 - Data Integration

@ElementUX ,

Remove the period (.) from '.widget-header'

$('widget-header')
.css('background-color','#f2f2f2');

-Hari

View solution in original post

2 REPLIES 2

harikm007
12 - Data Integration
12 - Data Integration

@ElementUX ,

Remove the period (.) from '.widget-header'

$('widget-header')
.css('background-color','#f2f2f2');

-Hari

That did it!  Thank you! 

ElementUX_0-1651750428708.png

 

Voice of Customer
Impact Business Intelligence (BI) and Analytics Market Research

Click Here & Complete Dresner's Wisdom of Crowds® Market Study Survey Today!

Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Need additional support?:

Community Support Request

Don't miss out:

Earn a BETA Launch Challenge Badge!