Category Lists

This topic contains 4 replies, has 4 voices, and was last updated by  Alex Rollin 5 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #471363

    Ron
    Full Member
    Post count: 48

    I have a restaurant site with over 100 cuisine categories. Used the category shortcode to place the category list at the top of the locations pages. Some cities may end up using all of the categories and display them at the top of the page. This is fine for desktop browser. On mobile you will need to scroll to finally get to listings. There is an option to limit the number of categories displayed. However there is no option for user to display all categories. (more). As I recall there was that option in Version 1.

    https://menudev.usmenuguide.com/location/united-states/florida/pensacola-beach/

    Also I notice that if I do a search for restaurants nearby, the system uses the location page to display the results. This renders the categories on top of the page for all site wide listings.

    What other options do I have to display categories ?

    Hope I was clear on this. I can send screen shots if needed.

    Thanks

    #471388

    Guust
    Moderator
    Post count: 29970

    The search page is not using the location page: https://menudev.usmenuguide.com/search/?geodir_search=1&stype=gd_place&s=+&snear=&sgeo_lat=&sgeo_lon=&city=pensacola-beach

    I guess that you maybe mean that if using the location switcher in the menu to navigate to a location, then yes, the location page will be used.

    You could use the categories widget in the sidebar, then it will show at the end of the page on mobile.

    I’ll get the developers to have a look at the question about “show more” categories in case you limit the categories initially.

    Thanks

    #471389

    Kor
    Moderator
    Post count: 16516

    Hi Ron,

    You can possibly try using the custom CSS code below to reduce the height of the widget and provide a scroll functionality.

    
    
    @media only screen and (max-width: 600px) {
      .geodir-categories-container {
        max-height:200px;
        overflow-x:scroll;
    }
    }
    #471463

    Ron
    Full Member
    Post count: 48

    I went ahead and added the categories to the main search bar. This is not an ideal solution since I cannot hide the categories not used in a particular area. Hope the developers will be able to add a “more” button later. I will probably also add them to the menu.

    Not sure if I should add a separate thread for this. Is there any way to make location description html instead of text ?

    #471479

    Alex Rollin
    Moderator
    Post count: 27815

    Location description does support HTML.

Viewing 5 posts - 1 through 5 (of 5 total)

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

Open Support Ticket