Shopify Hero & Slideshow Too Small? Community Fixes for Desktop Width Issues

Hey there, fellow store owners! It's a common story in our Shopify community: you log in one day, and something on your beautiful store just looks... off. Everything was perfect yesterday, and today, your hero section or slideshow is suddenly tiny on desktop, looking all squished and sad. Sound familiar?

This exact scenario recently popped up in a discussion where a store owner, goodmas767, reached out because their video hero and the slideshow right underneath it had inexplicably shrunk on desktop. The mobile version was still pristine, and they'd already checked their theme options, confirming the width settings were at their highest. What gives?

Diagnosing the Desktop Shrinkage: First Steps & Community Insights

When something like this happens "all of a sudden," it's easy to panic. But our community experts quickly chimed in with some excellent, systematic advice.

Is It Your Browser, or the Store Itself?

One of the first things Tim_1 pointed out was that when they checked goodmas767's site, the video and slideshow sections actually looked perfectly fine on their end. This is a huge clue! It tells us the issue might not be a universal problem with the store's code, but rather something local to goodmas767's browser or device.

If you're facing a similar situation, these are your absolute first steps, as Tim_1 wisely suggested:

  1. Try an Incognito/Private Window: This opens a browser session without any stored cookies, cache, or extensions, giving you a fresh look at your site.
  2. Use a Different Browser: If it looks fine in Chrome but not Firefox (or vice-versa), it points to a browser-specific issue.
  3. Clear Your Browser's Cache and Cookies: Over time, cached data can become corrupted or outdated, causing display glitches. A fresh start often works wonders.

These simple steps often resolve mysterious display issues because they eliminate local browser quirks as the culprit.

Here's a look at goodmas767's store, which was experiencing the issue:

When Browser Checks Aren't Enough: Sizing & Custom CSS Solutions

If clearing your cache and trying other browsers doesn't fix it, then it's time to dig a little deeper into your theme's settings and potentially custom code.

Optimizing Asset Sizes

Mustafa_Ali brought up a great point about image and video sizing. While Shopify themes are generally responsive and handle scaling, having appropriately sized source assets is always a good practice. They suggested:

  • Desktop View: Aim for dimensions like 2400x1000 pixels for your video hero and slideshow images. This provides enough resolution for large screens without being excessively heavy.
  • Mobile View: For mobile, 750x1100 pixels could be a good starting point, ensuring your content looks sharp and isn't cropped awkwardly on smaller devices.

Always check your theme's specific recommendations for hero section image dimensions, as these can vary.

The Power of Custom CSS for Full Width

Sometimes, despite all settings and asset optimizations, a theme might apply a default or inherited style that restricts the width of certain sections. This is where a little custom CSS can be your best friend. Mastroke offered a direct solution for goodmas767:

@media (min-width: 990px) {
  .banner,
  .slideshow,
  .video-section {
    max-width: 100%;
    width: 100%;
  }
}

Let's break down what this code does and how to use it:

  • @media (min-width: 990px): This is a "media query" that tells the browser to apply these styles only when the screen width is 990 pixels or wider (i.e., typically desktop views). This ensures your mobile design remains untouched, which was a key concern for goodmas767.
  • .banner, .slideshow, .video-section: These are CSS class selectors. They target specific elements in your theme that correspond to your hero banner, slideshow, and video sections. (Note: These class names can vary slightly by theme, so you might need to inspect your page's code if these don't work directly).
  • max-width: 100%; width: 100%;: These properties force the selected elements to take up the full available width of their parent container. This effectively overrides any smaller, default widths.

How to Add Custom CSS to Your Shopify Store:

Adding this code is straightforward:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find your current theme and click Actions > Edit code.
  3. In the left sidebar, look for a file like theme.liquid, base.css, theme.scss.liquid, or a file under the Assets folder that ends in .css or .scss.liquid. Many themes have a dedicated "Custom CSS" section or file.
  4. Scroll to the very bottom of that file (or find the custom CSS section) and paste the code provided above.
  5. Save your changes.
  6. Always preview your site after making code changes, ideally on a duplicate theme first!

Addressing the Menu Conundrum: Registration & Book a Viewing

Goodmas767 also ran into another interesting issue: clicking "Registration" in the menu simultaneously highlighted "Registration" and "Book a Viewing," but only displayed the "Book a Viewing" page. Tim_1 again provided a clear explanation:

"The system does not remember which link you’ve clicked, it compares current page URL with URLs in the menu and highlights matching ones."

This means your theme's navigation logic is likely highlighting any menu item whose URL matches (or partially matches) the URL of the page you're currently on. If both "Registration" and "Book a Viewing" link to the exact same page URL, or if one URL is a substring of the other (e.g., /pages/registration and /pages/registration-book-a-viewing), the theme might highlight both. To fix this:

  1. Go to Online Store > Navigation in your Shopify admin.
  2. Edit your main menu.
  3. Carefully check the URLs associated with both your "Registration" and "Book a Viewing" menu items.
  4. Ensure they point to distinct pages with unique URLs. If they are meant to be separate, they need separate destinations.

Ultimately, when your Shopify store throws you a curveball, remember the power of the community and a systematic troubleshooting approach. Start with the simplest checks (browser cache), consider your asset optimization, and don't be afraid to wield a bit of custom CSS when needed. And always, always double-check your navigation link destinations – those little details can cause big confusion!

Share:

Start with the tools

Explore migration tools

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

Explore migration tools