Help removing code at top of page

Help removing code at top of page

brandneststudio
Shopify Partner
6 0 2

I am wondering if someone could help me remove this strange code at the very top? I added some code in a few places but not sure what I have done wrong! I need to delete this from somewhere! I just need to know what code to remove! I think its in the layout/theme liquid?

 

Screenshot 2025-04-07 at 10.57.17 AM.png

Replies 2 (2)

Mustafa_Ali
Excursionist
327 24 53

hey @brandneststudio share the URLs of your website plz

MR115_ShopiDevs
Shopify Partner
17 3 1

Your site is likely due to something accidentally added to the layout/theme.liquid file. Here's how you can fix it:

  1. Go to your Shopify admin>Online Store>Themes.

  2. Click “...” (three dots) on your current theme, then click Edit code.

  3. Open the layout/theme.liquid file.

  4. Check right at the top of the file, before the <!DOCTYPE html> line — sometimes extra code gets pasted there by mistake.

  5. Look for anything unusual like Random characters or text,Unclosed or broken HTML tags,A snippet or script that doesn’t belong
    Delete the strange code and make sure your file starts cleanly.

  6. Click Save, then refresh your storefront to see if it’s fixed.

 

Please send us your store collaborator request code and Site URL so that we will able to send an access request and then investigate and try to fix the issue.

EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery and more.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.