Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1432040

    Hi

    I have set the header to display:

    Menu left, overflow logo, widget right.

    This works a treat on all devices except mobile. Can you assist so widget does not wrap, but remains to right with logo center and menu left.

    See screengrab and link

    kind ergards

    Duncan

    #1432051

    Hey dweddell,
    Thank you for the link to your site and your screenshot, try adding a max-width: 33%; to each of your three elements for mobile like this:

    @media only screen and (max-width: 767px) { 
    	.responsive #top #header #header_main .inner-container .main_menu {
        order: 1;
        flex-basis: auto;
        align-items: center;
        align-self: center;
        height: inherit !important;
        width: 33%;
    }
    .responsive #top #header #header_main .inner-container .logo {
        order: 2;
        flex-basis: auto;
        min-width: 100px;
        z-index: 9;
        transform: translateY(30%);
        margin-top: -30px;
        max-width: 33%;
    }
    .responsive #top #header #header_main .inner-container .widget {
        order: 3;
        flex-basis: auto;
        padding: 0;
        clear: none!important;
        justify-content: center;
        align-self: center;
        align-items: center;
        z-index: 1;
        max-width: 33%;
    }
    }

    This is the expected results:
    Enfold_Support_4570.jpeg

    Best regards,
    Mike

    #1432128

    Awwesome

    Many thanks Mike :)

    #1432136

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Aligning elements in header’ is closed to new replies.