Shopify Purity Theme + iPhone Chrome: Decoding the Sliding Black Line Glitch

Alright, store owners, let's talk about a quirky little issue that's been popping up in the Shopify community, specifically for those of you rocking the Purity theme. Imagine this: a potential customer is browsing your beautiful product pages on their iPhone using Chrome, and as the page loads, a mysterious black horizontal line appears at the top and slides down, only to vanish once everything's fully loaded. Annoying, right? It's not a great first impression, and it definitely caught the attention of Iulia1, who brought it to the community's attention.

Initially, you might think, "Is it my internet? Is it Chrome's native loading bar?" Some, like websensepro, couldn't even replicate it, suggesting basic cache clearing. But as the thread unfolded, it became clear this wasn't just a one-off cache hiccup. Other merchants, like kamal_dev, chimed in confirming the exact same issue on their iPhone 13 Pro with Chrome, but not on Safari, desktop, or Android. This really narrowed down the problem to a specific trifecta: Purity theme + Chrome + iPhone (iOS).

Understanding the Glitch: Why It Happens

So, what's really going on here? As sadik_ShopiDevs, a sharp mind in the community, pointed out, this isn't Chrome's address bar animation. It's an element within your webpage. The core of the problem lies in how Chrome on iPhone renders pages. Fun fact: Chrome on iOS actually uses Apple's WebKit engine for rendering, just like Safari. However, Chrome's own interface and how it handles certain CSS properties can still lead to different behaviors during loading.

The consensus among the experts in the thread points to a compatibility issue between the Purity theme's CSS/JavaScript and Chrome's WebKit rendering, particularly involving:

  • Fixed or Sticky Elements: Think your mobile bottom navigation, a sticky add-to-cart bar, or an announcement bar.
  • Page Transition Animations: Elements with backgrounds or borders animated using transform: translateY(...).
  • WebKit Rendering Quirks: Parent elements using transform, translate3d, or will-change can sometimes cause fixed-position elements to be painted incorrectly as the page initializes.
  • Delayed JavaScript: Sometimes, JavaScript might be applying final gallery or sticky-bar classes only after the page has already become visible, causing a momentary visual glitch.

Iulia1 even mentioned that the Purity theme developers are investigating, which tells us this isn't a simple fix, but a deep dive into how the theme interacts with a specific browser environment.

Your Action Plan: Troubleshooting the Black Line

If you're seeing this black line on your Purity theme store, don't just sit there! Here's a step-by-step guide based on the community's best advice:

Step 1: Basic Browser Checks (Rule out simple issues)

  1. Test in Incognito Tab: Open Chrome on your iPhone, go to an Incognito window, and load your product page. If the line doesn't appear, it's likely a cache issue.
  2. Clear Chrome's Cache: On your iPhone, go to Chrome Settings > Privacy and Security > Clear Browsing Data. Clear cache and cookies.

(While these are good first steps, the community generally found the problem persisted beyond simple cache issues.)

Step 2: Isolate Theme Features (The most likely culprits)

This is where you start playing detective within your Purity theme settings. As suggested by sadik_ShopiDevs and Muhammad_Daniyal, systematically disable these features one by one in your theme editor and retest on your iPhone Chrome:

  1. Sticky Add-to-Cart: Many themes have this feature. Turn it off temporarily.
  2. Mobile Bottom Navigation: If your theme has a sticky bottom navigation bar, disable it.
  3. Page-Loading or Page-Transition Animation: Purity, like many modern themes, might have fancy page load animations. Try turning these off.
  4. Announcement or Promotional Bars: If you have any bars that stick to the top or bottom, test disabling them.
  5. App Embeds with Sticky Widgets: Some third-party apps add their own sticky elements (e.g., chat widgets, review request bars). Temporarily disable these apps or their widgets.

The goal here is to identify which element, when disabled, makes the black line disappear. This points you to the specific feature causing the conflict.

Step 3: Test a Clean Purity Theme Copy

If the above steps don't resolve it, it's time to rule out customizations or other apps. Publish an unpublished, clean copy of the latest Purity theme (or a fresh download if you can) as a test. If the line disappears, you know a customization or a specific app script is the cause. If it still occurs, it's almost certainly a core theme bug.

Step 4: For the Tech-Savvy: Advanced Debugging with Web Inspector

If you're comfortable with developer tools (or have a developer on your team), sadik_ShopiDevs offered an excellent approach:

  1. Remote Web Inspector: Use Safari's remote Web Inspector from a Mac to inspect Chrome on your iPhone. While the page is loading, look for elements using CSS properties like position: fixed;, position: sticky;, transform: translateY(...);, transform: translate3d(...);, transition: transform ...;, will-change: transform;, border-top: ...;, or box-shadow: ...;. These are often involved in rendering glitches.
  2. Diagnostic CSS: As a temporary diagnostic, you can add the following to your theme's Custom CSS (remember to replace the example class names with actual Purity selectors if you identify them):
    @supports (-webkit-touch-callout: none) {
      body {
        overflow-x: hidden;
      }
    
      .sticky-add-to-cart,
      .mobile-bottom-navigation,
      .page-loading,
      .page-transition {
        transform: none !important;
        animation: none !important;
        transition: none !important;
      }
    }
    This snippet targets common problematic elements and attempts to neutralize their animations/transforms specifically for WebKit on iOS. Important: Only use this for testing, and revert once you've identified the exact culprit, as it might disable intended sticky behavior or animations.

Reporting to Purity Theme Developers

Ultimately, since this appears to be a specific interaction between the Purity theme and Chrome on iOS, the best long-term solution will come from the theme developers (NextSky). If you've gone through these steps and the issue persists, gather as much information as you can:

  • A screen recording or clear screenshots of the issue (like Iulia1 shared: WhatsApp Image 2026-07-14 at 9.34.18 PM
    IMG_6077)
  • Your iPhone model, iOS version, and Chrome version.
  • The specific product URL where the issue occurs.
  • Your Purity theme version.

As Steve_TopNewYork mentioned, keeping the community posted on any solutions from the theme developers would be super helpful for everyone facing this. It's these kinds of specific browser/theme rendering quirks that can be tricky to nail down, but with community collaboration and a systematic approach, we can usually get to the bottom of them. Keep an eye on your mobile experience – your customers definitely are!

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases