I would like to adjust the box-shadow of the header to wide displays, so that you don’t see the edges like in picture 1. Does anyone have an idea what I need to change in my code snippet?
In the above code, we use a media query to target wide displays with a minimum width of 1200px. Within this media query, we update the box-shadow property of the header to a wider shadow with a larger spread value (12px in this example). You can adjust the values as needed to achieve the desired effect.
By applying the box-shadow within the media query, it will only be applied to wide displays, while on smaller screens it will retain the original box-shadow defined outside the media query.
Make sure to add this CSS code to your theme’s CSS file or use a custom CSS option provided by your theme.
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
That worked, but I made the mistake of setting the wrong page width in the Theme Settings under Layout. The solution is to set the code and the page width to 1500px.