WAIT: Nav Menu: Mobile Menu Styling Issues - Text Alignment and Padding

Browser: Chrome 110
OS: Windows Home 10
URL: https://drerinlush.com/
Video: Loom | Free Screen & Video Recording Software | Loom

After recent Bricks updates, we’ve found that many of our Bricks sites have mobile menu styling issues with regards to text alignment being incorrect and padding issues.

For example, in the site https://drerinlush.com/, the mobile menu items are all aligned right. If I try to edit the menu and align menu items left, nothing updates in the builder or on the frontend. I’ve tried regenerating CSS and that doesn’t help.

Apart from that, mobile menu items that have submenu items have extra left-padding which makes those items look indented. This wasn’t like that before.

As a temporary fix for the client, I’ve added the following line of code in the .header__nav class:

root.brxe-nav-menu .bricks-mobile-menu >li > a{
text-align: left!important;
}

Hi Chris,
Thanks so much for your report!

Can you please try again with Bricks 1.8.2 (just released) and tell me if the problems persist?

Best regards,
timmse

Hi @timmse , I’ve updated to v1.8.3 and this problem still persists. On the mobile menu, the top level menu items can be aligned to the left, using horizontal alignment option:

But this does not trickle down to the submenu items and there are no alignment options for submenu items.

Furthermore, @timmse , on the following site, the submenu toggle is not working as well:
https://kitchenercleaningservice.ca/

Hi Chris,
Unfortunately, I can currently only say what I see. Of course, I can’t know where the settings come from.

Dr. Erin
The nav menu aligns the text to the left by default (add a new nav menu for testing and see how it behaves). But in your case, the text-align is set to the right (same for the submenu items). As I said, I don’t know where, and how you set it.

About the submenu item padding: if you set it to the same value as the top-level items, it should be the same. Currently, it’s not the same.

Kitchenercleaningservice

This one hides the submenu and prevents the display: block, which opens the submenu.