Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi, I need help with customizing my search page.
This is how it looks now:
And this is more or less how I want it to look:
So here’s what I need:
That’s all I want.
Here’s my store URL: https://1049xn-ya.myshopify.com/search?options%5Bprefix%5D=last&q=edit
And here’s the reference store I want it to look like:
https://tomnoske.store/search?options%5Bprefix%5D=last&type=product%2Carticle%2Cpage&q=edit&sort_by=...
Thanks a lot,
Tim
Hello, @CreatorTim
1) Go to Online Store
2) Edit Code
3) Find theme.css/base.css file
4) Add the following code in the bottom
h1.h2.center {
display: none !important;
}
Thanks!
Replace this text on html tag
<p role="status">
Results for 'edit',
</p>
Hey, thanks for the feedback. I’ve got the first part sorted, but I didn’t quite understand this part.
What exactly should I replace? And what’s the name of the file? Is it main-search.liquid?
Also, I’m not sure if you got it right—I want the "1 result found for 'edit'" to change dynamically. For example, if I type "edit" into the search bar, I want it to display "Results for 'edit'".
If I type "Master" into the search bar, I want it to display "Results for 'Master'".
Always to display the word I type into the search bar, not "edit".
Thank you
Tim
Hi @CreatorTim
.template-search__header.page-width > h1 {
display: none !important;
}
I hope this helps
Best,
Daisy
Thanks, I got it. Could you help me with the second part?
Replace the small text "1 result found for 'edit'" with "Results for 'edit'," increase the font size to 36px, bold it, and center-align it.
But the "edit" is just an example, I just want it to always display whatever I type in the search bar.
Thanks,
Tim