Site logo

Archived topic

how to add button in primary navigation and mobile off canvas pannel

3 replies · Started by Dipak Singh on June 22, 2021

Viewing posts 1–4 of 4

I tried the documentation guides but no changes I found on my website. I don't know which things I am missing to do it please guide how to add a button.

Hi Dipak,

Can you specify which part of the primary navigation do you want to insert the button?

There are many ways to add buttons to the primary navigation.

One way is through a Block Element hooked to generate_inside_navigation which adds a button on the left side of the primary navigation. Or use the generate_after_primary_menu hook if you want to add it on the right side.

You can add buttons as a widget through Appearance > Widgets. You can place the button on the Header Widget area.

I want to add a button on the right side of the primary menu.

This archived topic is closed to new replies.