[Resolved] Header Widget above Float Right Nav Menu

Home Forums Support [Resolved] Header Widget above Float Right Nav Menu

Home Forums Support Header Widget above Float Right Nav Menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #212920
    Lyle

    Hi Tom,

    I have searched the forum and got close a couple of times but alas, no cigar, so here I am πŸ™‚

    As the title states, I am trying to position a Header Right widget above the Float Right Nav menu as shown in the graphic. Now please take this in the right light, but it’s a 5 second job in Dynamik Website Builder πŸ™‚ LOL! This particular site is being rebuilt from DWB with GP (upon my recommendation, and the person also bought GP Premium :)) so it would be really cool to get it to look the way it was πŸ™‚

    Perhaps this could be something that might be added to a future release of GP as it is a fairly common layout.

    Cheers!
    Lyle

    #212937
    Tom
    Lead Developer
    Lead Developer

    Hi Lyle,

    Good question! Not too hard to achieve.

    This should do it: https://gist.github.com/generatepress/f6e4c29488fcf36f0e49280f004ac3dc

    Let me know πŸ™‚

    #213089
    Lyle

    Hi Tom,

    Yep, that worked πŸ™‚ But I had to create a child theme to do so. Adding the code to the parent functions.php (just to test) produced a duplicate header widget.

    Cheers!
    Lyle

    #213091
    Tom
    Lead Developer
    Lead Developer

    Glad it worked.

    There’s these options as well: https://generatepress.com/knowledgebase/adding-php-functions/

    #213096
    Lyle

    Wow! Thanks, Tom … the Simple PHP plugins works a treat!

    #213100
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

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