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

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>