WordPress.org

Ready to get started?Download WordPress

Forums

z-index not working (7 posts)

  1. acrobate67
    Member
    Posted 1 year ago #

    Does anyone know why z-index does'nt work with the slider. I need to put something over the slider but it stays under no matter what.

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    z-index will only effect elements that have a position attribute defined, i.e. relative, absolute, etc.

  3. acrobate67
    Member
    Posted 1 year ago #

    The div id that I have associated to my shortcode has a relative position. Should that work? [promoslider id="slider_01_pics" category="slider-01"]

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Can you post a link to your site? It's hard to help with CSS issues without seeing the site.

  5. acrobate67
    Member
    Posted 1 year ago #

    Sure! The site is still under construction but here is the link : http://www.calvs.ca/index.php

    I want to place invisible images over the slider to act as links kind of like an image map would do. The image is a transparent png called invisible_link_btn.png. May not be the best way to do it but it is simple and it should work.

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Hmm, that's kind of a strange set-up, but I looked at it and it may be that you need to assign the z-index to the images in the slider -- not just the enclosing div.

  7. acrobate67
    Member
    Posted 1 year ago #

    I know this is strange but as long as it works I am happy with it. I am not sure if I can assign css definitions to featured images. I will take a look but if you have any cue please let me know.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.