Which SASS file do I need to change to hide the header in the Modal pop-up layout type?

1
Which SASS file do I need to change to hide the header in the "Modal pop-up" layout type?
asked
2 answers
2

It might be in: styles\sass\custom\components\_modals.scss

You will just need to add the property display: none; to the .modal_header section

answered
2

The answer David gave is the right one, but the following steps will help you to see which element styles are populated in which sass file:

  1. Use chrome inspect to inspect pages and styles of your mx app;
  2. Select the element you wish to inspect or adjust, i.e. the modal-header;
  3. Check out the used element styles in the styles panes, and it shows the source files;
  4. Click on the source file i.e. custom.css, and DevTools will take you to the source file;
  5. Then from the source file you will find comments about the location of the sass file, i.e. ../../sass/custom/components/_modals.scss

 

answered