How can I move menu items to the top bar?

Discussion in 'GeoCraft WordPress Theme' started by merryandrew, Mar 11, 2015.

Thread Status:
Not open for further replies.
  1. merryandrew

    merryandrew Guest

    Joined:
    Mar 23, 2014
    Messages:
    47
    Likes Received:
    0
    I would like to move the About Us & Contact Us menu items to the top bar next to the Sign In link, to create more space on the menu bar. How do I do this?
     
  2. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hi merryandrew!

    To move the About Us & Contact Us menu items to the top bar,please follow the screenshot given below.
    geocraft_add_menu_items_top_Strip.png
    PHP:
    <ul class="custom-menu-top">
    <
    li><a href="<--About US page url-->">About Us</a></li>
    <
    li><a href="<--Contact US page url-->">Contact Us</a></li>
    </
    ul>
    Now please paste the code given below in Custom CSS section
    (Geocraft Settings -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.


    Code:
    .top_strip .menu {
    width: 50%;
    }
    ul.custom-menu-top li {
    display: inline;
    padding-right: 5px;
    }
    ul.custom-menu-top {
    list-style: none;
    float: left;
    }
    ul.custom-menu-top li a {
    color: white;
    }

    Thanks,
    Praveen
     
  3. merryandrew

    merryandrew Guest

    Joined:
    Mar 23, 2014
    Messages:
    47
    Likes Received:
    0
    Thanks for this, it works well, but the top menu bar is too deep (thick green bar) - can I make it thinner?

    URL is www.pubs.com
     
  4. sameerwalkar

    sameerwalkar Guest

    Hi,

    Use the below CSS code to make the menu bar color thinner:
    You can put your own color code

    Please paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    .top_strip {
      background: #67A636;
    }
    Regards,
    Sameer
     
  5. merryandrew

    merryandrew Guest

    Joined:
    Mar 23, 2014
    Messages:
    47
    Likes Received:
    0
    Hi Sameer, sorry, I should have said narrower - I meant the size, not the colour.
     
  6. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hi merryandrew!

    Please paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    .top_strip {
      height: 25px;
    }
    ul.custom-menu-top {
      margin-bottom: 0;
    }
    Thanks,
    Praveen
     
  7. merryandrew

    merryandrew Guest

    Joined:
    Mar 23, 2014
    Messages:
    47
    Likes Received:
    0
    Good stuff, thanks Praveen.
     
Thread Status:
Not open for further replies.

Share This Page