Eunice here from Shopify. Thanks for posting and welcome to the Community!
From your message, it sounds like you may have added some code to your theme that's not achieved the desired outcome, is that right? To fix this, I recommend deleting the code you added or rolling back your theme. If you're not sure how to roll back your theme check out this handy guide.
Once you've deleted the code or roll-backed your theme I recommend clearing your browser's cache and cookies before viewing your storefront. This is because our browsers have the ability to hold onto old information, and by clearing that information, we can ensure any new changes made in the Shopify admin will be reflected on the storefront.
Hope this helps. Don't hesitate to sing out here if you have any questions.
Eunice | Social Care @ Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution - To learn more visit the Shopify Help Center or the Shopify Blog