Streaming live at 10am (PST)

Navbar will not flex... anything!?

#1

I’ve been trying to get this simple element to just behave but no matter which way I push it or re-order the elements, nothing happens.

I drop a nav element in, I set it to fill the width of the screen (barring some padding either side.)

I then ask the Nav Element to have it’s children elements (Brand, nav button and the like.) flex to space-between and for god knows what reason… it centers everything with this non-existent padding on either side that doesn’t show anywhere in the style menu.

Can someone please explain this, I’m losing my hair over it.

1 Like
#2

Please share your project.

2 Likes
#3

Hi, @Martin_DSGNLAB!

So sorry for any frustration you’re experiencing. I’ll echo, @WebDev_Brandon here.

Which project are you specifically having issues with? Can you share your read-only link with me so I can jump in and investigate?

1 Like
#4

The native nav bar has a “nav menu” inside of it, which is set to float right. This is probably what’s causing your issues when trying to “flex” things into position.

That’s my guess, not knowing what your project looks like. Need to share access to the project.

#5

I’ve had to cancel using it due to time constraints.

However this bug is easily emulated by trying to use a Navbar and Flex Boxing the contents using Space Between. The Brand and Menu Button element won’t go to the edges, instead will arrange the elements to the middle with equal spacing across all elements.

#6

@Martin_DSGNLAB
This is resolved by moving nav container elements into a seperate div block, and deleting the original container div, you can then flex anything in navbar. share screenshots or sandbox sharelink and we’ll show you exactly what its is.

#7

The “nav menu” element natively has a float right setting applied to it. If you remove the float right property, the elements will respond the way you’ve requested.