New Landing How can we help? Themeforest Theme Support Dante Move Slider unter Main-Navigation with transparency

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #70541
    seanarcher
    Member
    Post count: 55

    Hi,

    im trying to move my revolution slider under the main-navigation so it
    “shines through”..

    i added the following code to the css to make the nav-transparent:

    #main-nav, #main-nav.sticky-header {background: rgba(255,255,255,0.95) url(img/nav_bg.jpg) bottom center repeat-x !important; z-index:999;}
    

    This works so far when i scroll down and the slider moves underneath it. but i can’t manage to get the slider approx 100px up, so it’s under the main-navigation even if its not scrolled..

    when i add z-index:10 to the slider its above the navigation, z-index:9 already below it.. but it seems that there’s no transparency on the main-nav

    maybe you can help me ?

    #70624
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Not quite sure what you want to achieve? It would help if you shared your link

    – Kyle

    #70665
    seanarcher
    Member
    Post count: 55
    This reply has been marked as private.
    #70673
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I see, as this is a bespoke customisation I would need to see your link

    – Kyle

    #70676
    seanarcher
    Member
    Post count: 55
    This reply has been marked as private.
    #70689
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try adding this custom css:

    #header-section:before, #header .is-sticky .sticky-header, #header-section .is-sticky #main-nav.sticky-header, #header-section.header-6 .is-sticky #header.sticky-header, .ajax-search-wrap {
      background: transparent;
    }
    #header {
      background-color: #FFFFFF;
    }
    .rev_slider_wrapper {
      bottom: 130px;
    }

    Let me know if it works

    – Kyle

    #70694
    seanarcher
    Member
    Post count: 55

    thanks for your answer. unfortunately it doesn’t seem to work. It moves the header below the navigation, but it doesn’t “shine” through..

    #70696
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add !important on the first property:

    #header-section:before, #header .is-sticky .sticky-header, #header-section .is-sticky #main-nav.sticky-header, #header-section.header-6 .is-sticky #header.sticky-header, .ajax-search-wrap {
      background: transparent!important;
    }

    – Kyle

    #70874
    seanarcher
    Member
    Post count: 55

    thanks that worked ! ๐Ÿ™‚

    #70986
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great! ๐Ÿ™‚

    – Kyle

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register