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 630 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 a Reply to Nora (Cancel Reply)

 

Related Tutorials..

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:
Sticky Element using Position Sticky

Sticky Element using Position Sticky

If you are looking to make an element, typically, the site header sticky whether it is at the top of the page to begin with…
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:
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:
Pro
Slow Zoom Effect for Slides in Bricks

Slow Zoom Effect for Slides in Bricks

This Pro tutorial provides the steps to set up a slow zoom effect for slides of nestable slider element in Bricks. Step 1 Add a…
Categories:
Tags:
Pro
Sticky Scrolling in Bricks Builder

Sticky Scrolling in Bricks Builder

Updated on 22 Apr 2024 This Pro tutorial provides the steps to fix elements in the viewport i.e., make them sticky while adjacent content in the section…
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: