Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1005175
    kkendall2010
    Participant

    Hi!

    I’m trying to achieve the following:
    1. Transparent main menu background, No adjustments to text
    2. No transparency on the drop downs or on the text
    3. Remove white border from menu
    4. Remove transparency when scrolling

    The current code I found to make any adjustments is the following:
    .x-navbar {
    background-color: #63666A !important;
    opacity: .6;
    }

    But that changes the menu as a whole, I’ve looked through the forum and have tried the various options but all I can get is a totally transparent background.

    Any help will is greatly appreciated!

    #1005180
    kkendall2010
    Participant
    This reply has been marked as private.
    #1005220
    Joao
    Moderator

    Hi There,

    Please use this code instead:

    
    .x-navbar {
        background: rgba(0, 0, 0, 0.6);
         border:0;
         box-shadow:none;
         position: fixed;
         width:100%;
    }
    .x-navbar .sub-menu {
     background: rgba(0, 0, 0, 1.0);
    }
    
    .sub-menu li a:link {
           background: rgba(0, 0, 0, 1.0);
    }
    
    .x-navbar .sub-menu a:hover {
     background: rgba(0, 0, 0, 1.0);
    }
    
    .x-navbar-fixed-top-active .x-navbar-wrap {
        margin-bottom: 0px;
    }
    
    

    Hope that helps,

    Joao

    #1005254
    kkendall2010
    Participant

    Worked quite well, but the white border on the top of the menu remains, any way to remove that?

    #1005259
    Rahul
    Moderator

    You’re welcome. Let us know if you need any more help from us!

    Cheers

    #1005286
    kkendall2010
    Participant

    Update: Any way to remove the white border from the top of the menu?

    Also, when I scroll down it changes to white (not the color I’d want), but then when I scroll back up the menu remains white, doesn’t change back to transparent.

    #1005323
    Thai
    Moderator

    Please add the following CSS:

    .x-logobar {
        border: none;
    }
    .x-navbar {
        background-color: rgba(99, 102,106, 0.2) !important;
    }
    .x-navbar.x-navbar-fixed-top {
        background-color: rgba(0, 0, 0, 0.7) !important;
    }

    Hope it helps 🙂

    #1005358
    kkendall2010
    Participant

    Perfect. Thank you so much! 🙂

    #1005381
    Rahul
    Moderator

    You’re welcome!

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