Home / Forums / Basel support forum / Show search icon on mobile
Home › Forums › Basel support forum › Show search icon on mobile
Show search icon on mobile
- This topic has 11 replies, 2 voices, and was last updated 7 years, 9 months ago by
Artem Temos.
-
AuthorPosts
-
February 14, 2018 at 9:50 am #39752
heartitParticipantWe need to show the search icon on mobile view next to the shopping cart and menu icons. How can I achieve this? Preferably it would be AJAX search. We are using the DOUBLE HEADER header type.
February 14, 2018 at 12:21 pm #39787
Artem TemosKeymasterHi,
You can enable search in Theme Settings -> Header -> Other. Check the screenshot https://gyazo.com/d3aa399c7b74232a776072e9ba64e7e4
Regards
February 14, 2018 at 12:26 pm #39793
heartitParticipantHi,
Thanks for the response, I have this enabled at the moment but no sign on of the search icon?
Thanks
February 14, 2018 at 12:27 pm #39795
Artem TemosKeymasterPlease, provide us your admin access so we can login and check this on your side.
Thank you in advance.
February 14, 2018 at 12:32 pm #39799
heartitParticipantIve added credentials to private content, thanks.
February 14, 2018 at 12:36 pm #39801
Artem TemosKeymasterAre you able to provide us your FTP access also so we could troubleshoot it?
February 14, 2018 at 12:38 pm #39802
heartitParticipantFTP Details in private content
February 14, 2018 at 12:40 pm #39803
Artem TemosKeymasterWhich folder contains your website wordpress installation?
February 14, 2018 at 12:42 pm #39804
heartitParticipant/monza
February 14, 2018 at 12:47 pm #39807
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to do this
add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 ); function basel_custom_header_configuration() { return array( 'container' => array( 'wrapp-header' => array( 'logo', 'main_nav', 'right-column' => array( 'wishlist', 'search', 'cart', 'mobile_icon', ) ) ), 'secondary-header' => array( 'container' => array( 'categories_menu', 'search_extended', ) ) ); }And this CSS snippet to the Custom CSS area for desktop devices
.right-column .search-button { display: none; }February 14, 2018 at 1:02 pm #39816
heartitParticipantThanks a bunch thats worked lovely, if i wanted to swap positions of search/menu is this easily done?
February 14, 2018 at 1:09 pm #39821
Artem TemosKeymasterTry to add this CSS code for mobile devices
div.right-column .search-button { display: inline-block; float:none; } -
AuthorPosts
Tagged: search
- You must be logged in to create new topics. Login / Register