Skip to main content

Forums

This topic contains 2 replies, has 2 voices, and was last updated by  augusthr18 5 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #276578

    augusthr18
    Participant

    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

    #276580

    Paulie_D
    Moderator

    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;
    }
    

    #276581

    augusthr18
    Participant

    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-link icon-logo-star icon-search icon-star