Adding MENU Text After Hamburger Icon in Bricks

Update: Check out a better version by Jeff Brigman here.


Looking to add the word MENU before or after the hamburger menu icon in Bricks?

We can use ::after pseudo-element and set its content to MENU.

Step 1

Edit your Header template.

Assuming that it has a Section with Logo and Nav Menu elements inside the Section’s Container, select the Container and ensure that “Align main axis” is set to “Space between”.

Step 2

Select the Nav Menu and add this under STYLE → Custom CSS:

root .bricks-mobile-menu-toggle::after {
	content: "Menu";
	text-transform: uppercase;
	font-size: 1.4rem;
	position: absolute;
	left: 28px;
	top: 0;
	letter-spacing: 1px;
}

root .bricks-mobile-menu-toggle {
	margin-left: -72px;
}

Step 3

Set the Width under MOBILE MENU to 100%.

Get access to all 524 Bricks code tutorials with BricksLabs Pro

Leave the first comment

 

Related Tutorials..

How to Add a Dot Separator Between Nav Menu Items in Bricks

How to Add a Dot Separator Between Nav Menu Items in Bricks

Looking to add a circular dot separator between the nav menu items in your Bricks site? Add the following at Bricks → Settings → Custom…
Categories:
Tags:
Pro
How to Combine Multiple Menus into Bricks’ Mobile Menu

How to Combine Multiple Menus into Bricks’ Mobile Menu

Bricks' native 'Nav Menu' element comes with a built-in mobile menu, which shrinks the menu down to a menu toggle button to open an offcanvas…
Categories:
How to add a resizable desktop navbar in Bricks

How to add a resizable desktop navbar in Bricks

This tutorial will show you how to add a "More" menu item when the navbar overflows on desktop.
Categories:
Tags:
Pro
Menu Item Descriptions in Bricks

Menu Item Descriptions in Bricks

Updated on 17 Jul 2023 This Pro tutorial provides the steps to show descriptions for nav menu items with the corresponding CSS styling for desktops…
Pro
Opening Submenus with Click Instead of Hover in Bricks

Opening Submenus with Click Instead of Hover in Bricks

This Pro tutorial provides the code for opening submenus with click instead of hover in Bricks. Step 1 Add this in child theme's style.css: Step…
Categories: