-
AuthorPosts
-
November 30, 2015 at 5:55 pm #544670
Hi there again,
Can you please help me with the following? I don’t know why you guys did not implement this option as a default one in your theme. I want to have a search button on mobile devices (see screenshot below). Can you help me with this, or you can point me in the right direction. I found different topics on this forum but they all didn’t the trick.
Thanks
https://www.dropbox.com/s/d2rkzemhj1rd14f/searchitem_mobile.png?dl=0
November 30, 2015 at 9:45 pm #544813Hey Roy!
Have you tried the following here:
https://kriesi.at/support/topic/mobile-search-bar/and it did not worked for you?
Best regards,
BasilisNovember 30, 2015 at 10:56 pm #544867Hi Basilis,
Thank you for your response,
I did a search in the header.php file but in there there is nodo_action('ava_after_main_menu');
only ado_action('ava_after_main_container');
I tried to put the code behind that code, but with no result.
So I do not know where to put the code.
Best Regards,
Roy- This reply was modified 8 years, 11 months ago by navnak.
November 30, 2015 at 11:09 pm #544873Hi Basilis,
An update: the code works now. THANKS!!!
Another question. Is there no AJAX functionality which can added tot the code?Best Regards,
RoyDecember 1, 2015 at 1:36 pm #545139Hi Basilis,
Everything works now but the original search option at the right of the main menu doesn’t work anymore. Can you take a look? See here: http://vanvlodropict.nl/
Best Regards,
RoyDecember 3, 2015 at 3:01 pm #546431Hey!
Can you please undo the changes you have made and check if that fixes the button? If it does, we can think another way of displaying search button on mobile devices
Cheers!
YigitDecember 3, 2015 at 3:38 pm #546462Hi there,
I removed te css. The searchbar is nog OK again but is showing the searchbar just below the (logo) header.<?php if(isset($avia_config['temp_logo_container'])) echo $avia_config['temp_logo_container']; do_action('ava_after_main_container'); echo get_search_form(); ?>
This code is still in the header.php file.
I hope you solution wil help!
Regards,
RoyDecember 3, 2015 at 3:46 pm #546466December 3, 2015 at 3:47 pm #546469Done!
Is it possible to created like this? https://www.dropbox.com/s/d2rkzemhj1rd14f/searchitem_mobile.png?dl=0
Regards,
Roy- This reply was modified 8 years, 11 months ago by navnak.
December 3, 2015 at 3:53 pm #546472Hi!
Please add following code to Quick CSS
@media only screen and (max-width: 990) { li#menu-item-search, .responsive.html_mobile_menu_tablet .main_menu .avia-menu { display: block; } .av-main-nav li { display: none; }}
Regards,
YigitDecember 3, 2015 at 3:56 pm #546473I did that,
Should there a search option on the mobile devices? If so, it didn’t show a search bar.
Regards,
RoyDecember 3, 2015 at 4:03 pm #546476Hi!
Please change the code to following one
@media only screen and (max-width: 990px) { li#menu-item-search, .responsive.html_mobile_menu_tablet .main_menu .avia-menu { display: block !important; } .av-main-nav li { display: none; }}
If that too does not help, please create a temporary admin login and post it here privately :)
Cheers!
Yigit- This reply was modified 8 years, 11 months ago by Yigit.
December 3, 2015 at 4:06 pm #546478Hi,
Still no search (checked on the iPhone 6 and iPad)
Login en PW are provided.
Regards,
RoyDecember 3, 2015 at 4:21 pm #546484Hi!
I had small typo in my custom CSS code. Sorry about that. I adjusted the code in Quick CSS field. Please review your website now
Best regards,
YigitDecember 3, 2015 at 4:24 pm #546488Hi,
Can happen. Slowly we are getting there.
On the iPad it looks good. On the iPhone 6S Plus it looks like this: https://www.dropbox.com/s/v909y1rl6kn7hfs/Foto%2003-12-15%2015%2022%2034.png?dl=0
Regards,
RoyDecember 3, 2015 at 4:29 pm #546490Hey!
Please add following code to Quick CSS as well
@media only screen and (max-width: 480px) { .avia-search-tooltip { margin-left: 0 !important; } .avia-search-tooltip .avia-arrow-wrap { right: 130px; }}
Cheers!
YigitDecember 3, 2015 at 4:34 pm #546493Nice,
Position of the searchglass is a bit off: https://www.dropbox.com/s/bt1wwv6d9yz8y2h/Foto%2003-12-15%2015%2032%2020.png?dl=0
Is it not possible to create a button which looks like the mainmenu and cart buttons?Regards,
RoyDecember 4, 2015 at 8:39 am #546825Hi Roy,
I’m sure it’s possible but it might require changes which are out of scope for our support, but send us a screenshot highlighting how you would like it to look and we’ll see what we can do. I think it looks good already though.
Thanks,
RikardDecember 4, 2015 at 10:29 am #546870Hi Rikard,
It definitely looks good. When having a shop it is necessary to search for products on the desktop and mobile devices as well. Maybe consider this option to build in the next update of the theme. Please take a look at the screenshot on the first post of this topic.
See this screenshot: https://www.dropbox.com/s/d2rkzemhj1rd14f/searchitem_mobile.png?dl=0
And this screenshot: https://www.dropbox.com/s/0po1ftbw6x3c00f/newoption.png?dl=0You guys helped me a lot.
Thanks
RoyDecember 7, 2015 at 1:11 pm #547951Hey!
Please post your feature request here – https://kriesi.at/support/enfold-feature-requests/. Please feel free to attach your screenshots as well :)
Regards,
YigitDecember 7, 2015 at 3:25 pm #548028Consider it done!
Regards,
Roy -
AuthorPosts
- The topic ‘(Ajax) Search option on mobile devices!’ is closed to new replies.