A user seeks help removing the search bar from their Shopify Refresh theme and repositioning the “BOOK A TOUR” menu item to the right side with a colored background.
Solutions Provided:
Remove search bar: Add CSS code to base.css, style.css, or theme.css to hide the search icon element using display: none
Style menu item: Apply custom CSS to #HeaderMenu-book-a-tour with:
Background color (#5b77b3 or custom hex #17c19a)
Border radius (10px)
Positioning adjustments
Refinements Discussed:
Initial solution didn’t remove search bar; user confirmed it remained visible
Spacing issue resolved by adding margin-left: 50px to create gap between “BOOK A TOUR” and “CONTACT US”
For larger screens, absolute positioning with right: 50px suggested to move item further right
User requested specific color customization with RGB values provided
The discussion includes code snippets and screenshots demonstrating the desired layout and implementation results. The issue appears resolved with iterative CSS adjustments.
Summarized with AI on November 10.
AI used: claude-sonnet-4-5-20250929.
I was wondering if someone could help me out with theme code to do the following.
I would like to remove the search bar from my website in total. I would also like to make the menu heading “BOOK A TOUR” as a separate heading on the right side where the search icon is now, and have a background around the writing in blue. I have attached a photo below the URL which is roughly what I am looking for.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
Thank you, exactly what i was looking for except:
It looks like this for me, how can i add a gap so the “BOOK A TOUR” is more to the right of “CONTACT US”?