Forums

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

Home Forums CSS [Solved] noob question(wordpress content, z-index)

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #177836
    Bones_Jones
    Participant

    hi guys! total noob here

    i want the text to be on the image
    http://goo.gl/JptQwZ

    like on here
    http://force4.dk/#projects

    so i tried margin: -20px and it moves up, but it stays behind the image. i tried z-index, but doesn’t work…

    any idea on how to move it up, so it’s on the image?

    thx in advance!!

    #177837
    Senff
    Participant

    Try adding this to your CSS:

    .portfolio-item {
        position:relative;
    }
    
    .portfolio-item .page-context {
        position: absolute;
        bottom: 35px;
        left: 15px;
    }
    
    #177848
    Bones_Jones
    Participant

    oh snap! thx!!

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