# Menu end: how to add custom button or float menu items to the right

**URL:** <https://community.hivepress.io/t/menu-end-how-to-add-custom-button-or-float-menu-items-to-the-right/17253>\
**Category:** TaskHive\
**Tags:** code\
**Created:** [December 16, 2025, 2:51pm UTC](https://community.hivepress.io/t/menu-end-how-to-add-custom-button-or-float-menu-items-to-the-right/17253 "2025-12-16T14:51:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TL99](https://community.hivepress.io/letter_avatar_proxy/v4/letter/t/bcef8e/32.png) [@TL99](https://community.hivepress.io/u/TL99)\
**Post date:** [December 16, 2025, 2:51pm UTC](https://community.hivepress.io/t/menu-end-how-to-add-custom-button-or-float-menu-items-to-the-right/17253/1 "2025-12-16T14:51:32Z")

</div>

Hi,

With TaskHive, when the request plugin is disabled the coressponding buttons on the right of the menu are gone also. What’s not gone is the section header-navbar\_\_end and the menu is centered - that looks odd without the buttons to the right.

Is there a way to either move the menu to the right (removing header-navbar\_\_end also removes the mobile menu item trigger) or to add a completely custom linkg/button instead of the request button (without the request plugin active)?

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [December 17, 2025, 12:56pm UTC](https://community.hivepress.io/t/menu-end-how-to-add-custom-button-or-float-menu-items-to-the-right/17253/2 "2025-12-17T12:56:14Z")

</div>

Hi,

This is the default design, and the middle section of the header is centered. If you want to move it to the right, use this CSS snippet; however, further customization may be required:

```auto
.header-navbar__middle {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}

.header-navbar__end {
	flex: none;
  padding-left: 0; 
}

```

You can also add custom links to this section in Appearance \> Menus \> Header. If you need to add a button, the customization would be required in this case.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![TL99](https://community.hivepress.io/letter_avatar_proxy/v4/letter/t/bcef8e/32.png) [@TL99](https://community.hivepress.io/u/TL99)\
**Post date:** [December 17, 2025, 1:36pm UTC](https://community.hivepress.io/t/menu-end-how-to-add-custom-button-or-float-menu-items-to-the-right/17253/3 "2025-12-17T13:36:58Z")

</div>

> [@TL99](#):
>
> header-navbar\_\_end

Hi,

Hi,

How can I add a custom link to header-navbar\_\_end? The “header” menu is only adressing the section header-navbar\_\_middle.

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [December 18, 2025, 5:07pm UTC](https://community.hivepress.io/t/menu-end-how-to-add-custom-button-or-float-menu-items-to-the-right/17253/4 "2025-12-18T17:07:35Z")

</div>

You can use this code snippet:

```auto
add_filter(
 'hivepress/v1/templates/site_header_block',
	function ( $template ) {
		return hivepress()->template->merge_blocks(
			$template,
			[
				'site_header_menu' => [
					'blocks' => [
						'custom_link' => [
							'type' => 'content',
							'content' => 'your_content_here',
							'_order' => 1,
						],
					],
				],
			]
		);
	},
 1000
);

```

And this guide on how to create the button and adjust it to your needs: [How to add a WhatsApp button - HivePress Help Center](https://help.hivepress.io/article/141-how-to-add-a-whatsapp-button).

Please note that further customization may be required. If you’re comfortable with coding, you can customize it yourself or with the help of our AI assistant.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [January 17, 2026, 5:07pm UTC](https://community.hivepress.io/t/menu-end-how-to-add-custom-button-or-float-menu-items-to-the-right/17253/5 "2026-01-17T17:07:59Z")

</div>

Closed on January 17, 2026, 5:07pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
