Forum Discussion

Frank Nielsen's avatar
Frank Nielsen
Copper Contributor
Feb 06, 2019
Solved

Code snippet web part

Hi SharePoint gurus. I have a SharePoint Modern page where I want to hide the header of a web part. I have taken out the ID of the header and used the code snippet web part, but the header is still ...
  • Beau Cameron's avatar
    Feb 06, 2019

    As others have mentioned, the code snippet web  part just displays code, it doesn't execute it.

    You should also be aware that trying to override out of the box styles is not good practice. Those IDs are subject to change and they will  change as they are dynamically generated. 

Resources