Mobile navbar should have background when open

Sure, here’s the corrected text in English:

The mobile navbar should have a background when it is open. When it is closed, it should be transparent.

My navbar background is transparent. When the navbar is open in mobile view, the background should be white. However, the top section of the navbar is still transparent, so I can see the content underneath. I tried giving the column section in the navbar a background color and increasing the top section’s size with margin and padding.

Here is my site Read-Only: The mobile navbar should have a background when it is open.*

Hello,
I checked your website and I think this might help you with this problem:
we want to change the navbar bg color from transparent to white when the navbar opens
so first we chose the navbar and in the interaction section (element trigger):
image
don’t forget to set animation just for mobile devices:
image

we chose “navbar opens”
and create two animations when the menu opens and when the menu closes:


open menu:

close menu:

Thank! :) It worked.

BT - P

1 Like