Shopify Store Looking Wonky on iPads & Wide Screens? Here's the Fix!

Is Your Shopify Store Squinting on iPads and Stretching on Desktops? You're Not Alone!

Hey everyone, it's [Your Name], and I've been diving deep into the Shopify community forums lately. One thread, in particular, caught my eye because it's a problem a lot of store owners face: their website looks great on a phone, but then gets all wonky on iPads or widescreen monitors. User026 started a thread titled "Webshop poorly optimized on iPad and widescreen displays," and it sparked a really helpful discussion.

They shared some screenshots that perfectly illustrate the problem. On the iPad, the layout was off, and on a widescreen, elements were stretched and misaligned. Sound familiar?

IMG_F362E6DC8C68-1

Scherm­afbeelding 2026-01-11 om 18.12.50

The Quick Fix: CSS Media Queries to the Rescue!

Tim_1, a regular contributor, jumped in with some CSS magic. The core idea is to use media queries to target specific screen sizes and apply custom styles. This allows you to adjust the layout and appearance of your site based on the device being used.

Here's an example of the CSS code Tim_1 suggested:

@media (min-width:1024px) and (max-width:1205px) {
  main > [id*=ss_hero]:first-child > div {
    margin-top: -115px !important;
  }
}

This code snippet targets screens between 1024px and 1205px wide (a common iPad Pro size) and adjusts the top margin of the first hero section. The !important tag ensures that this style overrides any conflicting styles.

Where to Put the Code?

Tim_1 recommended placing this code in "Theme settings" -> "Custom CSS". This is generally a good place for global styles that apply across your entire site. However, he also mentioned that you could add it to the hero section's "Custom CSS" setting, which might be necessary if you need to override styles with higher specificity.

The Challenge: One Size Doesn't Fit All

User026 quickly realized that this approach, while effective, requires manual adjustments for each section of their website. Each header and section might have different code, meaning a lot of repetitive work. This is where things can get a bit tedious.

Plus, as Tim_1 pointed out, hardcoding values like margin-top: -115px; can be fragile. If you change your menu items or font sizes, the code might break. A more robust solution would involve JavaScript to dynamically calculate the header height and adjust the hero section accordingly.

Advanced Customization: When to Call in the Experts

PaulNewton, another community member and Shopify Partner, chimed in to emphasize that adding new breakpoints and completely optimizing a theme for various devices is an advanced theme customization. He suggested that if it's a significant problem for your customers and you have a budget, reaching out to a Shopify expert might be the best approach.

Key Takeaways and Next Steps

So, what can we learn from this forum discussion?

  • Media queries are your friend: They're essential for creating responsive designs that adapt to different screen sizes.
  • Custom CSS can fix layout issues: You can use custom CSS to adjust the appearance of specific sections on your site.
  • Consider a dynamic solution: For more complex layouts, JavaScript might be necessary to dynamically adjust elements based on screen size and content.
  • Don't be afraid to ask for help: If you're struggling with responsive design, consider hiring a Shopify expert.

Ultimately, creating a responsive Shopify store is an ongoing process. It's about constantly testing your site on different devices and making adjustments as needed. The Shopify community is a great resource for getting help and inspiration, so don't hesitate to reach out and ask questions. Hopefully, this breakdown of the forum discussion helps you tackle those pesky iPad and widescreen display issues!

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools