This topic has 5 replies, 2 voices, and was last updated 8 years by sharmstr.

  • Author

    Tagged: 

  • #97549
     acengiz
    Participant

    Hello,

    I want to remove menus from geodirectory pages but these pages are not located in pages tab.
    Is it possible to remove menu from search result page, listing page?

    I found some codes in forum like below, it is used for bp profile page. How can i use it a page like “www.xxx.com/places/”?

    .bp-user #footer {
    display: none;
    }

    Thanks,
    Anil

    #97587
     sharmstr
    Moderator

    Do you want to remove the entire menu or just some of the menu items? If the entire menu, do you want to hide the top menu, main menu or both?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #97598
     acengiz
    Participant

    I want to remove top menu, header and also resize the primary menu as attached pic.

    Thanks,
    Anil

    Attachments:
    You must be logged in to view attached files.
    #97600
     sharmstr
    Moderator

    Go to GeoDirectory > Permalinks and you will see which pages you have set. Then go to WP Admin > Pages and select the page you want to change and scroll down to Theme General Settings > Display settings and hide the Top bar. Then click on Title Section and hide the title, breadcrumb and information sections.

    GeoDiretory uses the built in WP Search results page to display search results so you’ll have to add this to your quick css

    COPY CODE
    
    .search-results.geodir-page .main-title, .search-results.geodir-page .social-header {
        display: none !important;
    }
    

    I cant tell by your image what you mean by resize the main menu. Please explain.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #97605
     acengiz
    Participant

    Okey when i added the code to style.css, ,it worked. Thank you.

    Is there any documentation to learn the names of pages like “search-results.geodir-page”? I want to use the same method to customize the listing page also.

    For your question; by resizing the main menu, i mean that in theme options “main menu height” is 80. Bu in search results, i want to make it 40 and also “sticky main menu” should be 40. Is that possible?

    Best regards,
    Anil

    #97606
     sharmstr
    Moderator

    They are in the body class. But you only need to do it to the search page since that’s not actually a GeoDir page. As explain before, go to WP Admin > Geodirectory > Permalinks. See what you have set for your listing page, then go to Pages and find that page and edit it.

    COPY CODE
    
    .geodir-page #undefined-sticky-wrapper, .geodir-page .navbar-header, .geodir-page .kleo-main-header .navbar-collapse > ul > li > a, .header-banner {
        line-height: 40px !important;
        height: 40px !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?