CSS/code visible in the footer

Solved

CSS/code visible in the footer

_frida
Tourist
15 0 2

Hi,

 

Has anyone experienced this before? Some codes from my site is visible in the bottom of my footer.. Seems like it is about my mini cart. Any ideas about how to remove this?

 

https://www.aurstudio.com/

Accepted Solution (1)

Anshul_arora
Navigator
453 129 104

This is an accepted solution.

Hello @_frida ,

I understand you are looking to remove the code mistakenly added in your footer.

The issue you are facing is because you have not added the code in between <style>....</style> tag , as you can see in this screenshot https://prnt.sc/wBZc0IpzYgdV

Please follow the below mentioned steps to resolve this issues -:

1. Go to Online Store -> Themes -> Click on three dots -> Edit code.

2. Next search and open theme.liquid file before </body> tag.

3. Search for the code in the file do search just before closing </body> tag [It may be nearly to this tag.]

4. Now, if you want to retain the code, then add <style> ....</style> before starting and ending of the code and if you would not to take the functionality of this code, then just remove the code

5. Save changes.

I hope the solution helps you

Please share if you have any query.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here

View solution in original post

Replies 3 (3)

LuffyOnePiece
Shopify Partner
650 93 119

Hi @_frida ,

 

it's because you have to add that css in between <style></style> tag.

 

Thank you

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184

Anshul_arora
Navigator
453 129 104

This is an accepted solution.

Hello @_frida ,

I understand you are looking to remove the code mistakenly added in your footer.

The issue you are facing is because you have not added the code in between <style>....</style> tag , as you can see in this screenshot https://prnt.sc/wBZc0IpzYgdV

Please follow the below mentioned steps to resolve this issues -:

1. Go to Online Store -> Themes -> Click on three dots -> Edit code.

2. Next search and open theme.liquid file before </body> tag.

3. Search for the code in the file do search just before closing </body> tag [It may be nearly to this tag.]

4. Now, if you want to retain the code, then add <style> ....</style> before starting and ending of the code and if you would not to take the functionality of this code, then just remove the code

5. Save changes.

I hope the solution helps you

Please share if you have any query.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
_frida
Tourist
15 0 2

Thank you! This worked perfectly 🙂