Hi,
When viewing the store in mobile I lose the ‘products categories’ and ‘search products’ field that can be used to navigate and locate product faster.
Presently all you have to go by is ‘sort by default order’ or ‘display X number of products per page’. It doesn’t help any potential customers visiting the store not being able to access a search or category list.
Is there a way to have a search field and a drop down category view where these other fields are or in replace of?
Cheers
John
Hi John,
Could you post a link to the site in question so that we can take a closer look please?
Thanks,
Rikard
Hi Rikard,
Here you go…
Cheers
John
Hi John,
Could you try to check the Sidebar on Smartphones option under Enfold–>Sidebar Settings? That should display your sidebar on mobile devices as well.
Best regards,
Rikard
Thanks Rikard.
Is there a way to have the sidebar display at the top? Is it also possible to have the menu in a closed view until touched open?
Thanks heaps.
John
Hi,
Please add this in the functions.php file:
add_action('wp_footer', 'ava_new_custom_script');
function ava_new_custom_script(){
?>
<script type="text/javascript">
(function($) {
// disable responsiveness
function a() {
var shop = $('body').hasClass('woocommerce'),
ww = $(window).innerWidth();
if(!shop || ww >= 768) return;
$('.sidebar').insertBefore('.template-shop');
}
$(window).load(function() {
a();
});
})(jQuery);
</script>
<?php
}
Best regards,
Ismael