• Hi
    Just need a bit of help centering the menu on Olsen theme with social icons on. At the moment the menu and icons come on two lines – searchingformeaning.co.uk is the web site,

    I am using the mentioned before CSS to center the menu

    .navigation > li {
    float: none;
    display: inline-block;
    }
    #masthead .navigation {
    text-align: center
    }
    #masthead .navigation > li > a {
    margin-left: 15px;
    margin-right: 15px;
    }
    #masthead .site-bar .nav{
    width:100%;
    }

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The reason for this #masthead .site-bar .nav has 100% width set and width of .site-tools is set to 35%.

    In order to bring them in one line I would suggest you to decrease the widths of both panels like:

    #masthead .site-bar .nav {
       width: 70%
       float: left;
    }

    and

    .site-tools {
        float: right;
        width: 20%;
    }

    However, the above code will shift your menu towards left and will now stay centered. But to keep both elements (menu and social icons) in one line you need to decrease the widths of each section.

    Please let me know if that works!

    Thread Starter Kiril

    (@kikata)

    Thanks. As you said it shifts the menu to the left. Tried to play with the numbers but it either shifts to the left or the social icons go on the second line.

    Hi there,
    you can try adding this

    @media(min-width:768px) {
        .site-tools {
            width: 35%;
            position: absolute;
            right: 15px;
        }
    }

    in your custom CSS box under Appearance | Customize |?Additional CSS

    Thread Starter Kiril

    (@kikata)

    Great. Works perfect.
    Thank You

    Hey, can someone please help me with the same theme.

    Here is the Olsen Light Theme Demo: https://www.cssigniter.com/demo2/?theme=olsenlight

    Here is our Olsen Light Theme: https://brittanytrautman.com/

    Can someone tell me where i went wrong and how to get it to look like the demo version?

    I uploaded the sample content and widgets exactly how the instructions told me to but the site doesn’t look the same. Can someone help me get it right?

    @mauryahu – Please start a new topic with your question here:
    https://www.ads-software.com/support/theme/olsen-light#new-post

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Centered menu with Social Media Icons’ is closed to new replies.