Use space left of mobile menu button

  • Anonymous

    #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.

    Anonymous

    #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.

    Anonymous

    #49482

    Thank you.

    I found a conflicting plug-in, and disabled it. Then, I was able to see the action hooks for header.php.

    However, I still don’t see “grahene_navbar_header.”
    These are the only options I see for header.php:

    header areas

    Is it a premium feature? I’m currently using the free version.

    Just to be clear, I’m aiming to stick a couple widgets in this area:

    blank mobile area

    Admin

    Syahir Hakim

    #49502

    Looks like there’s a bug that causes the graphene_navbar_header option to not appear. We’ll include the fix in the next theme update, due out in a couple of days.

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

  • You must be logged in to reply to this topic.