Onclick on groupbox color should change

0
When I click on group box header of group box should change to different color How do I implement that, after clicking on group box color should change that  will indicate difference between opened & closed group box
asked
1 answers
3

Hey there, you can try two things:

  • manipulate the active/collapsed/uncollapsed state of the groupboxheader
  • wait for a moment and I will soon deploy a new module to the appstore in which you have a buildingblock for a groupbox.

 

For now i recommend you try point 1:

  • inspect element to see which class you can manipulate
  • change this within your custom.scss folder (theme > web > sass)
  • it will probably look like this:

 

.collapsed{

   .mx-groupheader{
      background-color: //color;
      }
}

 

The nyou can use the standard color for your uncollapsed styling and collapsed for your different styling

 

answered