All things Shopify and commerce
I have many images in a art gallery type format on my site, and I've linked each image to a search for a specific tag (related to the image) to pull all products that use that image. But it's a little hacky. Ideally, I want to show the products, but not the search bar containing the "hidden" tag. Creating a collection with each image is not feasible. Any help with this is appreciated. Website is linked.
Solved! Go to the solution
This is an accepted solution.
Try this: On your search-results page, where it says "Add Custom CSS", type:
.template-search__search{
display: none;
}
See if this looks ok to you. The website visitor should still be able to search for any product from the navigation bar up top.
So once the image is clicked, you want it to link to a search result, but also hide the tag?
Where would this image be? On the home page?
No, the images are not on the homepage. Here is a page of images that when you click on the image, you can see the "hacky" search. I want the products to show, but not the search bar with the tag.
Would you consider removing that search bar entirely, whether or not the search result comes from clicking on an image or a normal search result, and just using the one on the navigation bar?
Yes, I’d consider it, provided a consumer search is still an option. I don’t want to eliminate that feature.
This is an accepted solution.
Try this: On your search-results page, where it says "Add Custom CSS", type:
.template-search__search{
display: none;
}
See if this looks ok to you. The website visitor should still be able to search for any product from the navigation bar up top.
@FUN-tography I saw you marked my answer as a solution. Is everything working well for you now?
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025