- Go to Structure -> Block layout
- In section "Header - Sticky", place a new block (if not already placed)
- Place block "Warning"
(if block Warning already placed, click on configure)
- Add your warning message in the Text
You can select the background color (Red or Light)