Random \n At top of every page

Solved

Random \n At top of every page

GAUB
Tourist
9 0 1

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

Accepted Solution (1)
AnneLuo
Shopify Partner
967 181 206

This is an accepted solution.

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

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 8 (8)

DaveedValencia
Shopify Partner
26 5 5

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

 

DaveedValencia_0-1725958962458.png

 

GAUB
Tourist
9 0 1

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  

dws_pvt_ltd
Shopify Partner
330 65 92

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.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
GAUB
Tourist
9 0 1

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  

AnneLuo
Shopify Partner
967 181 206

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.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

GAUB
Tourist
9 0 1

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  

 

AnneLuo
Shopify Partner
967 181 206

This is an accepted solution.

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

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

GAUB
Tourist
9 0 1

Hi, I'll drop you an email