Home › Forums › Basel support forum › Visible search bar on mobile
Visible search bar on mobile
- This topic has 8 replies, 2 voices, and was last updated 4 years, 6 months ago by Elise Noromit.
-
AuthorPosts
-
July 10, 2020 at 5:16 pm #210021
UserdanParticipantHi there,
I wanted to ask if there is/will be any functionality to have the search bar visible by default in the header on mobile…
See link example
July 10, 2020 at 9:29 pm #210046
Elise NoromitMemberHello,
You can add the search form into the top bar. Please do the following if you want to have it on a few or all the pages:
1. Create a custom sidebar in the Dashboard > Sidebar
2. Create HTML block and add Mega Menu widget chose the category menu https://xtemos.com/docs/woodmart/html-blocks-2/
3. Navigate to Appearance > Widgets and find the custom sidebar you have created and add the Search widget.
4. Create HTML block, add the Widgetized sidebar, chose your custom sidebar from the drop-down list.
5. Navigate to the Theme Settings > Header > Tob bar > enable and add ID shortcode.
You can show a search icon that would call the mobile menu where a search form provided. This option is in the Theme Settings > Header > Other. This would not require so many steps.
Best Regards
July 12, 2020 at 7:24 pm #210270
UserdanParticipantHey,
Thank you for the information. I followed the steps but it only produced the search bar on desktop.
I currently have the search bar on desktop but would like it visible on mobile – below or within the main menu.
How would I be able to do this?
Thanks
July 12, 2020 at 9:12 pm #210278
Elise NoromitMemberHello,
Please provide the site admin access to the private area.
Best Regards
July 13, 2020 at 10:43 am #210395
UserdanParticipantHi there,
Sure please find attached
July 13, 2020 at 4:02 pm #210505
Elise NoromitMemberHello,
You need to insert the HTML block ID
[html_block id="4229"]
in this field https://prnt.sc/th0jsgIf you want to have the text FREE SHIPPING WORLDWIDE in the top bar, add a text block with this text to your Search Search widget HTML block.
Best Regards
July 13, 2020 at 6:13 pm #210537
UserdanParticipantHi there,
Thank you for the information.
I have completed these steps however the search bar styling doesn’t really work as you can see from the attached screenshot. Any suggestions?
Another question about search function – is there a setting to ensure product categories show up as well as specific products?
Thanks
July 13, 2020 at 6:14 pm #210538
UserdanParticipantImage as referenced above attached –
Attachments:
You must be logged in to view attached files.July 14, 2020 at 9:19 pm #210953
Elise NoromitMemberHello,
Make top bar height 58 px min.
Please add this code to the Theme Settings > Custom CSS > Global:
body .topbar-wrapp .widget-title{ display:none; } .search-extended { margin-top:7px; }
Make sure you have added this widget: https://prnt.sc/thtsby
I have checked at my side and it works properly https://gyazo.com/a256594c7e4261247f63d6cf16235bab
I am checking your site and Searchbar mobile and see Product category widget it is the wrong widget.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register