Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] z-index not working

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #150310
    Rohithzr
    Participant

    here i have two elements one is when you hover the plus icon and other is the ribbon. i want the cart popup to come at top of ribbon. here

    #150314
    Paulie_D
    Member

    You have a div with a class of .non-sematic-protector which holds the ribbon.

    If you give that a z-index of 0 the pop-up is now on top.

    This may cause other issues but i can’t see any at this time.

    #150318
    Rohithzr
    Participant

    thanks a lot.
    Edit: well but it is getting hidden below the fixed bar too. i want it to be like this bar > ribbon > popup

    #150326
    Paulie_D
    Member

    Oh, you didn’t say that before….that might be a little harder.

    #150331
    Rohithzr
    Participant

    that is why i am asking for help. cause i am unable to figure it out

    #150339
    Paulie_D
    Member

    I think the trouble might be that you can’t (I think) give a z-index to fixed positioned elements.

    So you may not be able to resolve this one.

    I’ll take another look later.

    #150473
    Rohithzr
    Participant

    ok thanks, i guess i will make it “display:none” on popup “display:block”

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.