Use space left of mobile menu button

  • aaronthomas1979

    #49378

    On mobile devices, like my phone, Graphene’s header menu collapses into the typical mobile menu button, and aligns right.

    However, I can’t figure out how to do anything with the unused space to the left of the button. It’s a waste of space, in my case.

    The Graphene guys have that space tapped though. Look where it says “Graphene Themes Forum.” How did they put that there?

    I’d like to put a couple buttons there, if possible, or at least some friendly text.

    Thanks for any tips.

    See the space used in this screenshot

    Admin

    Syahir Hakim

    #49381

    By default, the theme places the site title in that space. You can set the site title via WP Admin > Settings > General.

    To add other content to that space, you can use the theme’s Action Hook Widget Area feature, using the grahene_navbar_header hook.

    aaronthomas1979

    #49383

    Thanks for this information, however, my site title does not display for some odd reason.

    Also, I tried to enable the action hook widget, but it does not seem possible. I followed the documentation, but when I click on header.php, nothing happens. (It doesn’t give me options, such as to “enable action hook widget.”)

    I’m probably doing something wrong. Any suggestions? Maybe re-install graphene?

    https://imgur.com/a/TWede

    Admin

    Syahir Hakim

    #49386

    If you have unchecked the option “Display Site Title and Tagline” in Customizer > Site Identity, the site title will not be displayed in mobile view. This is a bug in the current version and we’ll include the fix in the next update.

    Also, I tried to enable the action hook widget, but it does not seem possible. I followed the documentation, but when I click on header.php, nothing happens. (It doesn’t give me options, such as to “enable action hook widget.”)

    If you click on the header.php link and nothing happens, it’s probably a script conflict with one of the plugins on your site. Try to temporarily deactivate all plugins and see if it works. It should expand to list out all the action hooks available under that file.

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

You must be logged in to reply to this topic.