Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #948750

    Hi,

    I would like to know how I would move my logo to the centre of the header and keep the menu right.

    I currently have logo left, menu right selected with a search widget in the centre. I can move the widget left I just need some code to move the logo to the centre.

    Hope you can help.

    Many thanks,

    Luke

    #948771

    Hey hazelallturf,

    Would you mind providing a precise link to the page, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Vinay

    #948865

    Hi Vinay,

    My bad! Please find link below.

    Thanks

    #948913

    Hi,

    Please remove the header widget style.

    Add the below CSS
    The Background color is used only for reference please remove it to suit your design.

    
    .container.av-logo-container .inner-container {
        display: flex!important;
        background: #eee;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap:wrap;
    }
    
    #top #header .logo,
    #top #header .main_menu,
    #top #header #search-3 {
       position: relative;
    }
    
    
    /* Logo */
    #top #header .logo {
        background: #ffdd00;
        order:2;
        /*flex-grow: 1;*/
    }
    
    
    /* Menu */
    #top #header .main_menu {
        background: #0099e5;
        order:3;
        /*flex-grow: 2;*/
    }
    
    
    /* Header widget*/
    #top #header #search-3 {
        background: #34bf49;
        padding: 0;
        order:1;
        z-index: 999;
        /*flex-grow: 1;*/
    }
    
    /* Header widget Breakpoint */
    @media only screen and (max-width: 850px) {
    
       .container.av-logo-container .inner-container {
            display: block !important;
        }
        #top #header .logo {
            display: inline-block;
        }
        /* Menu */
        #top #header .main_menu {
            display: inline-block;
            float: right;
        }
        #top #header .av-main-nav-wrap {
            float: right;
        }
        #top #header #search-3 {
            margin-top: -40px;
        }
    }

    The result will be:

    For more information please feel free to check out the header layouts.

    Best regards,
    Vinay

    • This reply was modified 6 years, 6 months ago by Vinay.
    #948960

    Hi Vinay,

    That has worked a treat thank you.

    Could you please see my other post if you can help?

    Many thanks,

    #949401

    Hi,

    Thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #949471

    No that’s perfect thanks for the help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.