Support » Theme: Visual Composer Starter » Centered logo

  • webworkstudio

    (@webworkstudio)


    Hi!

    I wondering, that you could help me to align center the logo between the menu, could you give me a css code for that and maybe a media quary?

    I would really appreciate, if you could help me. Thanks forwardly.

    Best regards,

    Ákos

Viewing 1 replies (of 1 total)
  • Hello!

    I don’t quite understand what you mean by:

    logo between the menu

    But here’s the code that will center the logo and menu:

    @media (min-width: 768px) {
        .navbar-wrapper .navbar-brand {
            float: none;
            text-align: center;
        }
        body:not(.menu-sandwich) .navbar-header {
            max-width: 100%;
            float: none;
        }
    }

    In case you want to center also on mobile devices use this:

        .navbar-wrapper .navbar-brand {
            float: none;
            text-align: center;
            width: 100%;
        }
        body:not(.menu-sandwich) .navbar-header {
            max-width: 100%;
            float: none;
            text-align: center;
        }
        .navbar-wrapper .navbar-toggle {
            float:none;
            margin: 0;
        }

    Please let us know how it worked out for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Centered logo’ is closed to new replies.