Forums

Give help. Get help.

  • # September 12, 2018 at 2:35 am

    I have a problem with my top nav bar.

    The text of the nav bar in mobile mode turns into a burger-menu and if you click it, it is suspossed to fold out with a background (white) on top of my frontpage slider. Although the text shows up infront of the background image – the white background for the text does not.

    I have made a codepen so you can see what i mean.
    ((For testing purposes the white background is green))

    Any help is appreciated

    # September 12, 2018 at 3:33 am

    The issue is the frontslider…you have set z-index:-999 but z-index doesn’t work unless the element has a position other than static.

    So apply position:relative and then z-index:-1 is more than enough.

    .frontslider {
      z-index: -1;
     position:relative;
    }
    

    # September 12, 2018 at 4:11 am

    Thank you, this helped a bunch :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag