Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1366194
    Flightwave
    Participant

    Hi there,
    URL and login credentials to follow.
    I turned on Navbar transparency – but it doesn’t seem to be working.
    This may be because I added some custom CSS that was given to me by your help team in the General Custom CSS area, but because I am not a coder – I’m not sure. Could someone look at what we have and tell me how we might be able to adjust the transparency of our top nav bar?

    thanks!

    #1366196
    Flightwave
    Participant
    This reply has been marked as private.
    #1366271
    Joao
    Moderator

    Hi There,

    Please remove the following code from Appereance Customizer Custom CSS

    .x-navbar,.x-colophon {
        background-color: #252525;
    }

    And add

    .x-colophon {
        background-color: #252525;
    }
    .x-navbar{
    border-bottom: 0;
    box-shadow: none;
    }
    
    

    You can change your navbar links at Appereance Customizer Header

    Hope it helps

    Joao

    #1366351
    Flightwave
    Participant

    Hi there – thanks for the quick reply!
    I tried that – and it makes the navbar completely transparent.
    What would I do if I only want 10 transparency (opacity) – so that it’s mostly the same color it was, but you can slightly see things through it?
    Thanks,

    #1366361
    Joao
    Moderator

    Hi There,

    Please update

    .x-navbar{
    border-bottom: 0;
    box-shadow: none;
    }

    to

    
    .x-navbar{
    border-bottom: 0;
    box-shadow: none;
    background: rgba(0,0,0,0.7);
    }

    Hope it helps

    Joao

    #1366428
    Flightwave
    Participant

    thanks so much!!

    #1366431
    Flightwave
    Participant

    oops – the only problem is that now the sub-menu is all white.
    Before it was the same color as the header and nav bar.
    How can I have the submenu appear as the same color / transparency as the nav bar?

    #1366433
    Flightwave
    Participant

    nevermind – i figured it out. had an extra bracket in there.
    Cheers!

    #1366437
    Flightwave
    Participant

    however – can I give the submenu the same transparency as the nav bar?

    #1366438
    Flightwave
    Participant

    I actually figured this out also – but now when the submenu overlays the navbar – the transparency causes a dark spot in the overlay area. Is there a way to have the submenu appear lower so it doesn’t overlay the navbar?

    #1366767
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    .x-navbar .desktop .x-nav > li ul {
        top: 58px;
    }

    Hope that helps.

    #1369233
    Flightwave
    Participant

    Brilliant!

    One more question: I don’t suppose there’s a way to make the submenu appear centered below the main menu item? Currently it’s a little to the left. This is NOT a big deal to me – so if its difficult – no problem. But if it’s easy – it might look nicer.

    thanks!

    #1369429
    Nabeel A
    Moderator

    Hi again,

    Try adding the following code in your Customizer:

    .masthead-inline .x-navbar .desktop .sub-menu {
        left: -21% !important;
    }

    Let us know how this goes!

    #1369584
    Flightwave
    Participant

    Amazing – perfect – thanks!!

    #1369908
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1366194 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>