Forums

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

Home Forums CSS [Solved] :after item content not visible, help appreciated:

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

    Hello,

    At the following website:

    http://necronomicon.studioissa.com/welcome/

    At the bottom of the page I have an instagram icon using font awesome in the instagram image feed below #NecronomiConPVD.

    The icon is inserted in the css using :after in the css line 3199. (.ri-grid ul li:nth-child(7):after.)

    The issue I am having is the icon is not visible because it is below the image. I’ve adjusted the z-index but it’s not showing up. I can’t get it to be above the image.

    Thanks for your help!

    Jay

    #190117
    Paulie_D
    Member

    It’s not clear which instragram logo you are referring to.

    I can see two already…is there another?

    #190122
    Paulie_D
    Member

    Ahh… I get it.

    z-index needs a positioning context to work.

    Add position:relative to your pseudo-element styles. Then crank the number down to “2”.

    #190126
    jayg-7
    Participant

    Thanks Paulie! That’s great!

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