If the logo size was changed from GeneratePress default, use this code to expand the container height:

Large logo before scroll on mobile

This code does the following on mobile devices when using mobile header: sets logo to be larger than the container before scroll adds text after logo after scroll resets width of ‘a’ element to fix Safari bug This technique was implemented on

iPhone Notch

Use these code snippets to add iPhone X notch support to GeneratePress.