Shopify themes, liquid, logos, and UX
Hello, i have followed THIS video in order to add Images to my Header Menu Items.
This works fine, but some of the Links in my header are just that-.. Links, and they currently show a Stock Image (No IMG).
I need exact instructions / code on how to remove these (No IMG) stock images from those Header Menu Sections where i have not added any images.
I'm using Dawn Theme, and if you need to know the Custom Code i've used and where i've placed it:
I followed this guide, and all the code used & where i placed it can be found under Add images to the mega menu.
I need this fix ASAP please, if someone can help me directly and quickly ill have a Coffee for you!
Thank you in advance!
Solved! Go to the solution
This is an accepted solution.
Hey @Thomas558,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
img.mega-menu__image[src="//1e9f63-2f.myshopify.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif"] {
display: none !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
When you move to a .com or another domain, make sure to change the myshopify link to the new domain
This is an accepted solution.
Hey @Thomas558,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
img.mega-menu__image[src="//1e9f63-2f.myshopify.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif"] {
display: none !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
When you move to a .com or another domain, make sure to change the myshopify link to the new domain
My Hero
Hey, the code doesn't work. I have the same problem..
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024