Hi guys - can anybody help with some css coding here? I need to hide the main menu on both devices for Dawn theme.
Many thanks!
Mladen
Goal: Hide the main menu on both desktop and mobile in the Shopify Dawn theme, and remove the header search icon.
The requester initially asked for CSS to hide the main menu on both devices (desktop + mobile).
Resolution for menu: They discovered it can be turned off directly in the theme editor (no custom code needed).
New issue: Remove the search (magnifying-glass) icon in the header; no toggle exists in the editor.
Solution provided: Add a CSS rule targeting the search icon’s class to hide it: .icon-search { display: none; }
Implementation detail: The rule was added in base.css and confirmed working by the requester.
Outcome: Main menu hidden via theme settings; search icon hidden via a small CSS addition. Status: Resolved; no open questions. (Notes: “base.css” is the theme’s stylesheet; “.icon-search” is the CSS class for the header search icon.)
Hi guys - can anybody help with some css coding here? I need to hide the main menu on both devices for Dawn theme.
Many thanks!
Mladen
@Xydja which menu screenshot please and both devices do you mean desktop + mobile?
Yea, both mobile and desktop but I got it - in this new theme all I had to do is switch off the menu in the theme editor. The other problem is how to loose the search option? For that there is no option in the editor. Any advice?
magnifying glass icon in the header
.icon-search {
display: none;
}
Yup! Thats the one - had to go under base.css but it worked! Well done!