Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #347093

    ahurlburt53
    Participant

    Please help with css to make navbar menu like this picture http://i.imgur.com/fMui2B1.png

    Site I am working on http://internogrow.com/

    #347096

    Thai
    Moderator

    Hi There,

    Thanks for writing in!

    Upon checking your website, I can see that it’s under construction.

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    โ€“ WordPress Admin username / password

    Donโ€™t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #347141

    ahurlburt53
    Participant
    This reply has been marked as private.
    #347148

    Thai
    Moderator

    Hi There,

    Try adding following CSS under Appearance > Customize > Custom > CSS:

    .x-navbar {
        border: 0;
        background-color: #333;
    }
    .x-navbar-inner {
        min-height: 54px;
    }
    body.x-navbar-fixed-top-active .x-navbar-wrap,
    .x-navbar .desktop .x-nav > li > a {
        height: 54px;
    }
    .x-navbar .x-nav > li {
      text-align: center;
    }
    
    .x-navbar .x-nav > li > a {
      overflow: hidden;
      border-right: 1px solid #171717;
      padding-left: 35px !important;
      padding-right: 35px !important;
      font-size: 14px;
      text-overflow: ellipsis;
      text-shadow: 0 -1px 0 #292929;
      text-transform: uppercase;
      white-space: nowrap;
      box-shadow: inset -1px 0 0 0 rgba(255, 255, 255, 0.065);
      padding-top: 20px !important;
      color: #878787 !important;
    }
    .x-navbar .x-nav > li > a:hover {
      color: #fff !important;
    }
    
    .x-navbar .x-nav > li > a > span {
      display: inline;
    }
    
    .x-navbar .x-nav.left > li.current > a {
      color: #fff !important;
    }
    
    .x-navbar .x-nav.left > li.current > a:hover {
      cursor: default !important;
    }
    
    .x-navbar .x-nav > li:first-child > a {
      border-left: 1px solid #171717 !important;
      box-shadow: -1px 0 0 0 rgba(255, 255, 255, 0.065), inset -1px 0 0 0 rgba(255, 255, 255, 0.065) !important;
    }
    
    .x-navbar .desktop .x-nav > li > a:hover,
    .x-navbar .desktop .x-nav > li.current-menu-item > a {
      box-shadow: inset -1px 0 0 0 rgba(255, 255, 255, 0.065) !important;
    }
    
    .x-navbar .desktop .x-nav > li:first-child > a:hover,
    .x-navbar .desktop .x-nav > li:first-child.current-menu-item > a {
      box-shadow: -1px 0 0 0 rgba(255, 255, 255, 0.065), inset -1px 0 0 0 rgba(255, 255, 255, 0.065) !important;
    }
    

    Hope it helps.

    #347210

    ahurlburt53
    Participant

    Nice work ty! How can I make the main color of navbar text this color #f8d237. which part of the css do I need to change

    #347223

    Thai
    Moderator

    Hi There,

    You can edit following code:

    .x-navbar .x-nav > li > a {
      color: #878787 !important;
    }

    Hope it helps.

    #347330

    ahurlburt53
    Participant

    TYTYTY

    #347433

    Thai
    Moderator

    You are most welcome.

    #348520

    ahurlburt53
    Participant

    which part of the css code removes the vertical bars?

    #348526

    Thai
    Moderator

    Hi There,

    Try adding following CSS:

    .x-navbar .desktop .x-nav > li:first-child > a:hover,
    .x-navbar .desktop .x-nav > li:first-child.current-menu-item > a
    .x-navbar .x-nav > li:first-child > a,
    .x-navbar .x-nav > li > a {
    border-right: none !important;
    box-shadow: none !important;
    }

    Hope it helps.

    #349481

    ahurlburt53
    Participant

    it worked but have just one vertical bar that did not work? Strange http://i.imgur.com/EUlOGGX.png

    http://www.tampabaywebsitedesigner.com/

    #349485

    Christopher
    Moderator

    Hi there,

    Please add this :

    .x-navbar .desktop .x-nav > li:first-child > a:hover, .x-navbar .desktop .x-nav > li:first-child.current-menu-item > a{
    border-left:none !important;
    }

    Hope it helps.

    #349592

    ahurlburt53
    Participant

    Were in business tytytytytyt

    #349594

    Thai
    Moderator

    You’re most welcome ๐Ÿ™‚

    #349595

    ahurlburt53
    Participant