Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2016
    Posts
    23
    Member #
    53773

    How would I move two categories to the right side of my nav bar?

    On my top navigation bar I have 7 categories. I want to set two of them apart from the other 5. I want five of them to remain on the left side of the nav bar and the other 2 I want moved over to the right side of the nav bar. How would I do that?

  2.  

  3. #2
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    Quote Originally Posted by kuurt View Post
    On my top navigation bar I have 7 categories. I want to set two of them apart from the other 5. I want five of them to remain on the left side of the nav bar and the other 2 I want moved over to the right side of the nav bar. How would I do that?
    Would depend on what you have coded. Show us your code via Codepen.io or JsFiddle.net


    Sent from my iPhone using Tapatalk

  4. #3
    Junior Member
    Join Date
    Apr 2016
    Posts
    23
    Member #
    53773
    Would depend on what you have coded.
    It's a Wordpress theme I'm using. I didn't do the coding. But I can paste the part of the code that has to do with the nav bar.

    Show us your code via Codepen.io or JsFiddle.net
    I don't know how to use those. But, I think this here is the code that deals with my top main navigation:

    .main-navigation {
    display: inline-block;
    width: 100%;
    clear: both;
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    }
    .main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0 6px;
    }
    .main-navigation li {
    float: left;
    font-family: Vidaloka, Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: normal;
    position: relative;
    text-decoration: none;
    vertical-align: middle;
    zoom: 1;
    }
    .main-navigation a {
    color: #fff;
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    }
    .main-navigation ul ul {
    background: rgba(255,255,255,.7);
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    display: none;
    float: left;
    padding: 0;
    position: absolute;
    top: auto;
    z-index: 99999;
    }
    .main-navigation ul ul ul {
    left: 100%;
    top: 0;
    }
    .main-navigation ul ul a {
    color: #fff;
    width: 200px;
    }
    .main-navigation ul ul li {
    float: none;
    }
    .main-navigation li:hover > a {
    background: rgba(255,255,255,.2);
    }
    .main-navigation ul ul :hover > a {
    background: rgba(255,255,255,.2);
    }
    .main-navigation ul ul a:hover {
    background: rgba(255,255,255,.2);
    }
    .main-navigation ul li:hover > ul {
    display: block;
    }
    .main-navigation li.current_page_item a,
    .main-navigation li.current-menu-item a {
    background: rgba(255,255,255,.2);
    }

    /* Small menu */
    .menu-toggle {
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: block;
    margin: 15px 0;
    text-align: center;
    width: 100%;
    }
    .main-small-navigation .menu {
    color: #fff;
    display: none;
    }
    .main-small-navigation .menu a {
    color: #fff;
    }


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:15 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com