Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #854423

    yhshin1020
    Participant

    Hey,

    I’ve managed to use this code I found on this forum to allow the nav bar to overlap with the rev slide.

    .page-id-94 .x-navbar-fixed-top-active .x-navbar-wrap {
        height: 0;
    }
    
    .page-id-94 .masthead {
       position: fixed;
       top: 0;
       left: 0;
       z-index: 1200;
       width: 100%;
    }
    

    Applying the same code, I figured that I could use it for my Councils page, just by replacing the page id.

    However, there still is a empty space on top (attached illustration)

    I have removed margin from the content band too, not sure what the problem is.

    Could you perhaps look into this issue? To clarify, I want the nav bar to completely overlap the slide, as is on the homepage.

    Thanks!

    #854425

    yhshin1020
    Participant
    This reply has been marked as private.
    #854469

    John Ezra
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.

    .page-id-157 div#x-content-band-1 p:first-child {
        margin-top: -17px;
    }

    Hope this helps – thanks!

    #854618

    yhshin1020
    Participant

    Hey,

    This worked great!

    Thanks for the fantastic support.

    #854647

    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Have a great day! 🙂