On an iPad, you can force the desktop header by using the following @media query in your CSS:
Copy code
@media only screen and (min-device-width: 1024px) { /* desktop header styles go here */ }
This will apply the styles specified within the curly braces only to devices with a minimum device width of 1024 pixels. This means that the desktop header will be displayed on iPads and other devices with a screen width of 1024 pixels or greater.
Alternatively, you can use the max-width property instead of min-width to apply the styles to devices with a maximum screen width of 1024 pixels.
Copy code
@media only screen and (max-device-width: 1024px) { /* desktop header styles go here */ }
Keep in mind that this will apply the styles to all devices with a maximum screen width of 1024 pixels, including smartphones and other smaller devices.