[Support request] header with navigation

Home Forums Support [Support request] header with navigation

Home Forums Support header with navigation

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #2338266
    eran

    How can I make the site logo + tagline and the menu at the same line only in the mobile?
    I can do it with navigation as header but it affect my desktop as well

    Plus, right now the menu is before my header but in mobile the menu is above my header. why it changes?

    #2338754
    David
    Staff
    Customer Support

    Hi there,

    Remove this CSS:

    /* make the logo on top keft side */
    @media (max-width: 768px) {
        body {
            display: flex;
            flex-direction: column;
        }
    
        nav#site-navigation {
            order: -1;
        }
    	.main-navigation .menu-toggle {
            text-align: left;
        }
    	
    }

    And add this CSS:

    @media(max-width: 768px) {
        .site-header .site-branding-container {
            flex-direction: unset;
        }
        .site-header .site-branding-container .site-logo {
            margin-right: 20px;
        }
        .main-navigation .inside-navigation {
            position: static;
        }
        .main-navigation .menu-toggle {
            position: absolute;
            top: 20px;
            left: 10px;
            z-index: 1000;
        }
    }
    #2338759
    eran

    The logo is on the menu in mobile

    #2338870
    David
    Staff
    Customer Support

    Add this CSS to adjust the size and position on really small screens:

    @media(max-width: 500px) {
        .site-header .site-branding-container .site-logo {
            margin-right: 10px !important;
    
        }
        .site-header .site-branding-container .site-logo img {
            max-width: 40px;
        }
        .site-header .site-branding-container .main-title {
            font-size: 13px;
        }
        .main-navigation .menu-toggle {
            top: 5px !important;
        }
    }
    #2338886
    eran

    it worked.
    now the sticky navigation doesn’t work.

    #2338897
    David
    Staff
    Customer Support

    Are you able to create a logo that container the logo image and the text ?
    As it would save a lot of CSS as you can just add it as the Mobile Header Logo ?

    #2339055
    eran

    do you know what dimensions I need?

    #2339739
    eran

    I need to tell the designer the dimensions.
    do you know what i need?

    #2339764
    David
    Staff
    Customer Support

    i would suggest no larger than 60px x 240px

    #2339781
    eran

    the width should be smaller then the height?

    #2339879
    David
    Staff
    Customer Support

    No sorry i should have said 60px height, 240px wide.

    #2344144
    eran

    Ok I have the logo.
    now to use header as navigation and add the new logo?

    #2344618
    David
    Staff
    Customer Support

    Leave your current header as is.
    But in Customizer > Layout > Header, enable the Mobile Header, and there you will be given a field to add your mobile header logo. Add your new logo to that.

    Let me know once thats done.

    #2344648
    eran

    Done.
    look like the logo is too small.

    #2344713
    David
    Staff
    Customer Support

    See here:

    2022-09-16_13-08-01

    The image uploaded is square 960px x 960px with a lot of negative space around it.
    Can the original be cropped to its size, as highlighted by the green border i added ? And then re-uploaded.

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