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?
A user encountered CSS code displaying visibly in their store’s footer instead of being properly rendered. The root cause was identified as CSS code added directly to the theme without being wrapped in <style>...</style> tags.
Solution provided:
</body> tag)<style> tags to retain functionality, or remove it entirelyA screenshot was shared demonstrating the improperly placed code. The original poster confirmed the solution resolved the issue successfully.
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?
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 … tag , as you can see in this screenshot https://prnt.sc/wBZc0IpzYgdV
Please follow the below mentioned steps to resolve this issues -:
Go to Online Store → Themes → Click on three dots → Edit code.
Next search and open theme.liquid file before tag.
Search for the code in the file do search just before closing tag [It may be nearly to this tag.]
Now, if you want to retain the code, then add … before starting and ending of the code and if you would not to take the functionality of this code, then just remove the code
Save changes.
I hope the solution helps you
Please share if you have any query.
Thank you.
Thank you! This worked perfectly ![]()