There is a random white bar at the top of my website

This white bar shows on every page of my website - I’m not sure where it has come from and nothing I’ve tried is getting rid of it.

My website is citrineantiquejewels.com

1 Like

It’s above the header. I’ve tried looking for padding issues

1 Like

Check your theme.liquid file, right below the body tag. There’s a weird 0x0 textbox there. If you delete that it should go back to normal. Or find it in the theme editor.

1 Like

Thanks for your reply! Which part of the code? I can’t find the ‘0x0’ textbox?

Online Store-Three Dots-Edit Code-Explorer Button-Layout-Theme.liquid
Should be right below the body tag and above the announcement bar
or you can just search for it
This is what’s causing your space above the announcement bar
Just delete that whole line

This is where you should look. Edit Code

Then Find the theme.liquid file
Could be further or closer depending on what you have installed, but around line 300 of theme.liquid you’ll find the body

1 Like

Thank you so much! What exactly am I meant to delete from here?

thanks for the screenshot. it’s not there so try just using the search button and search for ZeroWidthSpace or \u200b

Unfortunately no results found - I just tried again too. Is it definitely theme.liquid?

Do me a favor. hide your announcement bar in theme editor.

Disable any custom-liquid sections/ app sections to dial in possible culprits.
Restore the theme to a backup you made prior to any file modifications.
Or try file rollbacks if you didn’t bother with proper process
https://help.shopify.com/en/manual/online-store/themes/customizing-themes/edit-code/edit-theme-code#roll-back

If you still can’t fix it you can reach out to me or other contributors for theme repair services to avoid burning a ton of time on this type of stuff.

I’d try a backup theme like @PaulNewton suggested. Something’s there and if you can’t find it, you’ll either need to revert or start anew.

Hi @user3179

Dear, this issue still hasn’t been resolved by you?

Best regards,
Devcoder :laptop:

@Howie10 there is weird text under the body tag, did you check your theme.liquid file? I can check it for you, I will need collab code to send he request.

I believe I can see it on your screenshot – see this rectangle?

You can try and make it like this to make sure nothing is there.

</style><body ...

2 Likes

This worked!!! Thank you everyone

2 Likes