Site logo

[Support request] Hamburger Menu on Desktop / Standard page design

Home Forums Support [Support request] Hamburger Menu on Desktop / Standard page design

Home Forums Support Hamburger Menu on Desktop / Standard page design

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #234123
    Patrick

    Hi Tom,

    another questions:

    1) I like to have the hamburger menu on desktop too. Like to show the hamburger everytime, no line with textlinks in header. How can I do this?

    2) Is there an option to define that on each page the title and the header should be deactivated? Or have I setup this for each page separately?

    Thanks and regards
    Patrick

    #234173
    Tom
    Lead Developer
    Lead Developer

    Hi Patrick,

    1. This is possible using the Slideout menu in Menu Plus.

    If you want to use the default mobile menu, you can initiate it at a wider width with this CSS: https://gist.github.com/generatepress/c23aef2d05807c39bb32

    Just adjust the 768px to something higher.

    2. By page title do you mean the content title or the site title?

    If content title, you can remove it from all pages with this:

    add_filter( 'generate_show_title', 'tu_remove_page_titles' );
    function tu_remove_page_titles()
    { 
        if ( is_page() )
            return false;
     
        return true;
    }

    Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

    As for the header area, you can do this with CSS:

    .site-header {
        display: none;
    }

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

    Hope this helps 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.