How can I remove the preview bar from my online store?

Topic summary

Store owners are seeing a preview bar at the bottom of their live site when browsing while logged in. One user finds this unprofessional for customers, while another confirms it’s only visible to the account owner when authenticated—not to actual customers.

The Issue:

  • Preview bar appears when store owner views their own site
  • Can be manually hidden each time, but reappears after cache clearing
  • One user wants permanent removal to avoid repeatedly closing it during daily site navigation

Proposed Solution:
A CSS code snippet was shared to permanently hide the preview bar by adding it to the theme.liquid file before the </head> tag:

#PBarNextFrameWrapper {
  display: none !important;
}

A screenshot demonstrates where to insert this code in the theme editor. The discussion remains open as the original poster hasn’t confirmed whether the solution works.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

I have published my store and I’m still adding products. However, when I look my store up online (as if a customer) there is a bar at the bottom showing up. I can click on Hide Preview and the bar goes away. Anyone online can do this. It’s very unprofessional! How can I remove that? What am I doing wrong?

Hi, @MyDivaFashion .

Thank you for reaching out!

That bar is showing up because your browser recognizes you as the account owner/your signed in. If you want to share your URL I can search it on my end and double check for you.

Please let me know if you have any further questions! I would love to learn more about your business. What type of products do you sell?

Talk soon,

Hi Emily~

I have the same issue since clearing my browser’s cache yesterday. I can’t remember how I disabled the preview bar before but I always have a browser tab with my live site open and I’m navigating around my site all day long, confirming edits and grabbing URLs to send to customers for quick conversions. I understand the browser recognizes me as the owner, not an issue. I just want the bar to be permanently disabled because closing it every single time is annoying and a bother. Can you help me disable it? I’m a solopreneur so I’m the only person looking at this; there will never be an occasion where I forget I’m looking at my own site as the owner of said site. I don’t really need a reminder. Thanks for your help!

~Jeremy

Hello, Jeremysher! Try to paste this code fragment into your theme.liquid file before close tag

<!-- REMOVE PREVIEW BAR -->
<style>
  #PBarNextFrameWrapper {
    display: none !important;
  }
</style>