Random \n At top of every page

Hi,

Any help on this would be great. I ran at speed optimiser app yesterday, and now I have a “\n” right at the top of every page. My website is www.unfairbaits.com

I’ve rolled back the optimiser (it has inbuilt capabilities) but no luck. I’ve reached out to the developers for help, but no reply yet.

Any ideas what files I should be looking through? where should I look next?

Thanks

In your theme.liquid towards the very top you have “\n” between two script tags. Delete it and it will be fixed. See screenshot.

Hello @GAUB , It looks you typed a “\n” in your at somewhere else in your body tag.

Please Go to Online store → Open Edit code → Open theme.liquid file → Press Ctrl + F in your code and search for “\n”. You can find like this in your code if your added by mistake.

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

It may be in your theme.liquid file. Please check the file in your admin. If you can’t find it, I can help you. Please let me know.

Unfortunately It’s not in there. I saw the script tags. I’m assuming it must by in one of the javascripts that are called, which is displaying it inside those script tags

Unfortunately It’s not in there. I saw the script tags. I’m assuming it must by in one of the javascripts that are called, which is displaying it inside those script tags

Unfortunately It’s not in there. I saw the script tags. I’m assuming it must by in one of the javascripts that are called, which is displaying it inside those script tags

I can try to help you figure out it. So I need to access your store as a collaborator if possible.

1 Like

Hi, I’ll drop you an email