Hello all, we had used a small bit of code when trying to adjust something and now even though removed its displaying on our site. any ideas why? pls see photo
it is white so not overly noticeable but would like to remove
A store owner is experiencing an issue where previously removed CSS code is still appearing on their live site. The unwanted code displays in white text, making it barely noticeable but still present.
Suggested Solutions:
theme.liquid file for residual code.search-modal.modal__content in either theme.liquid or footer.liquid<!-- -->)Current Status:
The issue remains unresolved. Several users have offered to investigate directly if given store access and collaborator codes. One responder shared a screenshot showing the problematic code location in the theme files.
Hello all, we had used a small bit of code when trying to adjust something and now even though removed its displaying on our site. any ideas why? pls see photo
it is white so not overly noticeable but would like to remove
Hey @junglecatclub
Try searching for that in your theme.liquid file, you might find it there. If not , then share your store url and collaborator request code with me and I can help you remove it.
Best Regards,
Moeed
Hi @junglecatclub ,
Check your code in the theme.liquid file. It may contain redundant code as you mentione please remove it.
Please go to your store admin > Sales channels > Online Store > Themes > click “…” > Edit code > open theme.liquid or footer.liquid file, searching for “.search-modal.modal__content” to find the code like this
.search-modal.modal__content {
--color-background: 255, 255, 255;
--gradient-background: #ffffff;
}
Remove it or wrap it into this tags
Thank you for reaching out to the Shopify community. I’d be glad to assist you. Could you kindly share your store URL and password (if it’s password-protected) so I can review it and provide you with an update?
Hello @junglecatclub ,
We went through the store design and identified that some unwanted code is there in your “theme.liquid” file or possibly in other files. It seems you may have missed adding the necessary tags. Please ensure the tags are added or remove the unnecessary code.
Let me know if you need further assistance!