Mobile Menu Issue with Location Switcher

This topic contains 17 replies, has 5 voices, and was last updated by  Paolo 6 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #394739

    Joy
    Buyer
    Post count: 1076

    Hello, I am missing on of my regions on my mobile menu. It’s visible on the desktop though. I’ve had a look at the settings and I’m not seeing what I missed.

    Thank you.

    #394740

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #394788

    Kor
    Moderator
    Post count: 16516

    Hi Joy,

    Could you please elaborate a little bit more? May I know what’s missing? Which region?

    Thanks!

    #394797

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #394818

    Paolo
    Site Admin
    Post count: 31206
    #394822

    Joy
    Buyer
    Post count: 1076

    Thank you for the link.

    On my mobile I actually have 2 options. There is a drop down that shows just 5 regions. Can this be expanded to show 6? If so, from there I will hide the “Search Region” option from mobile, and hide the drop down option from “Cities”. It’s a bit confusing to show a drop down and a search, it makes the directory seem limited to only the 5 choices shown. Showing only the search option would be ideal instead of the drop down for cities…but please tell me I can expand the 5 regions to 6. *fingers crossed*

    Thank you.

    #394878

    Giri
    Expired Member
    Post count: 3155

    Hi Joy,

    Without modifying the code its not possible to get 6 results.

    You can check this file.

    /wordpress/wp-content/plugins/geodir_location_manager/geodir_location_hooks_actions.php

    Line number: ~ 1820

    But modifying the value would affect everywhere I guess.

    I’ll assign this to stiofan. He can tell you if there is another way. He will reply you on monday.

    Thanks

    #394911

    Joy
    Buyer
    Post count: 1076

    Okay thank you. I would be very happy with the increase to 6 spaces instead of 5 for the region, both on desktop and mobile devices.

    I will take a look at the file and report back if I’m able to get it to work.

    #395064

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    If that does what you need then we can add a filter there, let us know.

    Thanks,

    Stiofan

    #395072

    Joy
    Buyer
    Post count: 1076

    Hi Stiofan,

    I just tried to change the count from 5 to 6 but that doesn’t seem to affect anything. I’m not sure if I’m doing it right.

    I would like the drop down options to show a maximum of 6 options instead of 5 site wide, both on the desktop and mobile.

    #395073

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #395078

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    HI Joy

    I manully changed it in line 839 of geodir_location_template_tags.php
    I still have to think of the best way to add a filter that will work in all situations, let me know how that works for now.

    Thanks,

    Stiofan

    #395197

    Joy
    Buyer
    Post count: 1076

    Thank you Stiofan. I really appreciate that!

    I see the change in the mobile, so that is great. But for the desktop, the drop down list only shows 5 at a time. To see the remaining option(6th) the user needs to scroll and the “please wait” screen causes a slight delay. Can the desktop dropdown be expanded to show 6 options as well on default that will eliminate the need to scroll and the extra delay?

    Thank you again.

    #395538

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It seems that code works for both but you need to extend the height of the scroll area by 1 extra so it will show without the need to scroll.

    Stiofan

    #395597

    Joy
    Buyer
    Post count: 1076

    I’m sorry Stiofan. I’ve tried to find the css to implement the height of the scroll but I can’t figure it out.

    This is the closest I could find to expand the box options, but it has no effect on the scroll: .geodir-chosen-container-single .chosen-drop

    Help? Thank you.

Viewing 15 posts - 1 through 15 (of 18 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket