29th May '22
/
4 comments

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 Code → Custom CSS:

.brxe-nav-menu .bricks-nav-menu > li:not(:last-child)::after {
	content: "\\25CF";
	position: absolute;
	right: -18px;
	top: 10px;
	font-size: 6px;
}

Save Settings and check the front end.

You may have to play with right and top values depending on the existing space between the menu items and menu item height.

In our test site, we have 8px of top and bottom padding each set under TOP LEVEL MENU control group.

Get access to all 626 Bricks code tutorials with BricksLabs Pro

4 comments

  • Nora Holmquist

    Upgraded to bricks 1.4.0.2. Dots ok in builder and preview. However on front end I see the characters 25CF as the separator. Code is still in the CSS section of the Nav Menu element itself.

    • A

      Adding double slash works since Bricks seems to be stripping off one of them.

      I updated the CSS code in the tutorial.

      Also, I tested this in Bricks → Settings → Custom Code → Custom CSS.

  • After saving the CSS code in Bricks/Settings/Custom Code/CSS, when I move off the settings tab (click on Bricks/Templates for instance), then go back to settings, the backslash "\" has been removed from the code. Repeated multiple times with same result. Consequently what I see between each menu item are the characters 25CF. However, when I moved the code to the CSS section of the Nav Menu element itself, it worked.

Leave your comment

 

Related Tutorials..

Pro
Changing Bricks Lightbox Arrow Icons

Changing Bricks Lightbox Arrow Icons

How to change the left and right arrow svg icons with custom ones in Bricks lightbox.
Categories:
Tags:
How to Create a Right Overflow Effect on Sliders in Bricks

How to Create a Right Overflow Effect on Sliders in Bricks

In this tutorial, we'll learn how to recreate a nice overflow effect on the right of our sliders in Bricks. Introduction Recently, I've been asked…
Categories:
Adding MENU Text After Hamburger Icon in Bricks

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?…
Categories:
Tags:
Add masonry style to the Remote Template list

Add masonry style to the Remote Template list

This article will show you how to transform the remote templates list of Bricks in a masonry style without cropping your images - it will…
Categories:
Tags:
How to Change Bricks Preloader Background Color

How to Change Bricks Preloader Background Color

Working on a dark-themed site like our friend Storm and getting blinded by the light background of Bricks' preloader screen of the editor? Here's how…
Categories:
Pro
CSS Grid for Posts Element in Bricks

CSS Grid for Posts Element in Bricks

The "Posts" element in Bricks has "Grid" as the default layout but the actual CSS it applies on the page feels hacky with negative margins…
Categories:
Pro
Dynamic Horizontal Posts Accordion in Bricks

Dynamic Horizontal Posts Accordion in Bricks

Creating a horizontal accordion of featured images from posts output by Bricks' query loop.
Categories:
Tags:
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:
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: