Panel header background

UI Components for React
Post Reply
bigzidane
Posts: 58
Joined: 21 Jan 2015, 22:16

29 Apr 2020, 23:52

Hi Support team,

Could we change Panel header background? If yes, pls advice

Thanks,

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

30 Apr 2020, 05:01

Please use;

Code: Select all

body .p-panel.p-component .p-panel-titlebar {
   background-color: red;
}
Best Regards,

bigzidane
Posts: 58
Joined: 21 Jan 2015, 22:16

30 Apr 2020, 12:57

Thanks a lot. it works but it impacts to all Panels.

Could you please advice a bit more to see how can I apply to a specific control only?

Sorry I'm not a front-end developer. So please help

Thanks,

Perkinsy
Posts: 1
Joined: 21 May 2020, 13:20

21 May 2020, 13:22

This should work MCDVOICE:

Code: Select all

.panel > .panel-heading {
    background-image: none;
    background-color: red;
    color: white;

}

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests