Archived topic
How to make sticky header with follow us buttons
1 reply · Started by Former User on January 8, 2023
Hello,
How I can make sticky header that when it scrolls down it shows with follow us buttons on pages like homepage on first URL below and on posts it shows to share on Facebook, Twitter and so on like on second URL below.
Thanks!
Sara
Hi there,
you would have to use a Block Element Hook to add your social icons / social share plugin into the menu_bar_items hook.
That will mean one hook for social icons for the Frontpage
And a separate hook for social share icons ( which you will require a plugin for ) on your Posts
This will add them inside the Primary Navigation. Which will also show in the GP Sticky Navigation ( enabled in Customizer > Layout > Sticky Nav ). It will then require some CSS to show / hide the icons / menus etc. for the normal and sticky navs. We can help with the CSS once your have them in place.