Archived topic
Header Widget above Float Right Nav Menu
5 replies · Started by Lyle on July 25, 2016
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
Hi Lyle,
Good question! Not too hard to achieve.
This should do it: https://gist.github.com/generatepress/f6e4c29488fcf36f0e49280f004ac3dc
Let me know :)
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
Glad it worked.
There's these options as well: https://generatepress.com/knowledgebase/adding-php-functions/
Wow! Thanks, Tom ... the Simple PHP plugins works a treat!
You're welcome :)
