Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #1431935

    enfold docs

    header setting >
    Enfold > Header > Header Layout > Menu and Logo Position > Logo left, Menu right
    Why is it saying to select menu right when i am trying to have menu below?

    code snippet – CSS
    Code snippet heading > Logo left, Widget center, widget right, menu above
    States menu above and when i add it in it does what is says… menu above when notes are for menu below

    i would like as docs states
    LOGO widget 1 widget 2
    menu below

    thanks

    #1432262

    Hey cpages,
    Thank you for pointing this out, please use this css instead:

    /************************************
    
    Logo left, Widget center, widget right, menu below
    
    *************************************
    
    
    CSS Settings:
    
    » Initiate Flexbox
    » Topbar
    » Header
    » Logo
    » Menu
    » Widget
    » Social icons
    » Search
    » Cart icon
    
    ***********************************/
    
    
    /*--------------------------------
    
    » Initiate Flexbox
    
    --------------------------------*/
    
    
    /* Header */
    .responsive #top #header,
    /* Top bar */
    .responsive #top #header #header_meta, 
    /* Search icon */
    .responsive #top #header #menu-item-search a,
    /* Cart icon */
    .responsive #top #header a.cart_dropdown_link,
    /* Social icon */
    .responsive #top #header #header_main nav .social_bookmarks,
    /* Logo */
    .responsive #top #header #header_main .inner-container .logo,
    /* Main menu, cart and social icons */
    .responsive #top #header #header_main .inner-container .main_menu,
    /* Widgets */
    .responsive #top #header #header_main .inner-container .widget:nth-child(3),
    .responsive #top #header #header_main .inner-container .widget:nth-child(4),
    /* Header inner container */
    #top #header #header_main .container.av-logo-container .inner-container {
        display: flex;
        position: relative;    
    }
    
    
    
    
    
    /*--------------------------------
    
    » Topbar
    
    --------------------------------*/
    
    
    /* Top bar */
    
    .responsive #top #header #header_meta {
        flex-basis: 100%;
    }
    
    
    
    
    /*--------------------------------
    
    » Header
    
    --------------------------------*/
    
    
    /* Height outer container */
    
    #top #header #header_main .container.av-logo-container {
        /* Do not change height here */
        /* Auto height: Header takes the height of the contents */
        height: inherit;    
        line-height: inherit;
    }
    
    
    
    /* Header inner container */
    
    #top #header #header_main .container.av-logo-container .inner-container {
        /* Define header height here */
        height: inherit;
        position: relative !important;
        flex-wrap: wrap;
        /* Define header padding */
        padding: 10px;
        justify-content: space-between;
    }
    
    
    
    /* Wrappers 
    --------------------------------*/
    
    
    /* Main header ( logo, menu, widgets ) and topbar */
    
    .responsive #top #header {
        flex-wrap: wrap;
    }
    
    
    /*  Logo, Menu, Social Icons and Widgets. */
    
    .responsive #top #header #header_main {
        flex-basis: 100%;
    }
    
    
    /* Transparent header 
    --------------------------------*/
    
    .responsive.html_header_transparency #top #wrap_all #header {
        position: absolute;
    }
    
    @media only screen and (max-width: 767px) {
        .responsive.html_header_transparency #top #wrap_all #main {
            /* Define padding value for transparent header in mobile */
            /*padding-top: 315px !important; */
        }
    }
    
    
     
    
    
    /* Fixed header 
    --------------------------------*/
    
    .html_header_sticky.html_mobile_menu_tablet #top #wrap_all #header,
    .html_header_sticky.html_header_transparency #top #wrap_all #header,
    .html_header_sticky #top #wrap_all #header {
        position: fixed;
    }
    
    .html_header_sticky #top #header_main .container,
    .html_header_sticky #top .main_menu ul:first-child>li a {
        height: inherit !important;
        line-height: inherit !important;
    }
    
    
    /* Main content padding value should be same as the fixed header height. */
    
    .html_header_sticky:not(.html_header_transparency) #top #wrap_all #main,
    .html_header_sticky #top #wrap_all #main {
        /* Define padding only if sticky header is active */
        /*padding-top: 262px ;  */
    }
    
    @media only screen and (max-width: 767px) {
        .html_header_sticky #top #wrap_all #main {
            /* Define padding value for sticky header on mobile */
            /*padding-top: 315px !important; */
        }
    }
    
    
    
    
    
    
    /*--------------------------------
    
    » Logo
    
    --------------------------------*/
    
    
    /* Logo */
    
    .responsive #top #header #header_main .inner-container .logo {
        order: 2;
        flex-basis: 33%;
        /*width: auto;*/
    
        /* Define scalable min width of the logo on small screens */
        min-width: 100px;
        
        z-index: 9;
        /* Define scalable max width of the logo on big screens */
        /* Logo width: (auto | 100% | px );  Set auto to display the uploaded image size */
        max-width: 180px;
    }
    
    
    /* Logo image size */
    
    .responsive #top #header .logo,
    .responsive #top #header .logo a,
    .responsive #top #header .logo img {
        width: auto;
            
        /* Height specification is not required. It is proportional to the max width of the logo */
        height: auto;    
        align-items: center;
        align-self: center;
        justify-content: center;
    }
    
    
    /* Vertically center transparency logo */
    
    .responsive #top #header .logo span img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    
    
    /*--------------------------------
    
    » Menu
    
    --------------------------------*/
    
    
    /* Menu outer container: Menu with siblings cart and social icons */
    
    .responsive #top #header #header_main .inner-container .main_menu {
        order: 5;
    
        /* Define menu width */
        flex-basis: 100%;
    
        align-items: center;
        align-self: center;
        height: inherit !important;
        background: #f1f1f1;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    
    /* Navigation */
    
    #header .av-main-nav {
        display: flex;
        flex-wrap: nowrap;
    }
    
    
    /*  Activate burger menu  */
    
    @media only screen and (max-width: 1100px) {
        #top #header .av-main-nav>li.menu-item {
            display: none!important;
        }
        #top #header .av-burger-menu-main {
            cursor: pointer;
            display: block!important;
        }
    }
    
    @media only screen and (max-width: 767px) {
        /* Mobile menu position fix */
        .responsive #top .av-logo-container .avia-menu {
            display: flex!important;
            align-items: center;
        }
    }
    
    
    
    /* Mega menu submenu position fix */
    
    .responsive #top #header .avia_mega_div {
        /* Define megamenu submenu top value */
        /*   top: 300px; 
       position: fixed;
       left: 50%;
       transform: translateX(-50%);*/
    }
    
    
    
    /*--------------------------------
    
    » Widget
    
    --------------------------------*/
    
    
    /* Widgets */
    
    .responsive #top #header #header_main .inner-container .widget {
        flex-basis: auto;
        padding: 0;
        clear: none!important;
    
        justify-content: center;
        align-self: center;
        align-items: center;
        z-index: 1;
        margin: 0 10px;
    }
    
    
    .responsive #top #header #header_main .inner-container .widget>div {
        width: 100%;
        line-height: 14px;
        padding: 0 10px;
        background: gold;
    }
    
    /* Widgets areas */
    .responsive #top #header #header_main .inner-container .widget:nth-child(3){
        order: 3;
        flex-basis: 33%;
    }
    .responsive #top #header #header_main .inner-container .widget:nth-child(4){
        order: 4;
        flex-basis: 33%;
    }
    
    /*--------------------------------
    
    » Social icons
    
    --------------------------------*/
    
    
    /* Flex support and position fix */
    
    .responsive #top #header #header_main nav .social_bookmarks {
        top: auto;
        margin-top: 0;
        align-items: center;
    }
    
    
    /* Inherit height for flex alignment */
    
    .responsive #top .av-logo-container .social_bookmarks li {
        height: inherit;
    }
    
    
    
    
    
    /*--------------------------------
    
    » Search 
    
    --------------------------------*/
    
    
    /* Your styles here */
    
    
    /*--------------------------------
    
    » Cart 
    
    --------------------------------*/
    
    
    /* Cart position fix */
    
    #top #header #header_main #menu-item-shop a.cart_dropdown_link {
        height: auto;
    }
    
    @media only screen and (max-width: 767px) {
        .responsive #top #menu-item-shop.cart_dropdown {
            display: flex;
            align-items: center;
        }
        .cart_dropdown .dropdown_widget .avia-arrow {
            display: none;
        }
    }
    

    We will correct the documentation.

    Best regards,
    Mike

    #1432511

    Have followed instructions including amended css as above and the header widget content – 2 x text widgets are appearing stacked and aligned left above the logo, instead of to right of logo and side by side?

    Please advise

    Thanks

    #1432513

    Hi,
    I’m not sure why you are seeing this, it works for me, please include an admin login to your site in the Private Content area so we can check.

    Best regards,
    Mike

    #1433266

    sent login credentials nearly a week ago, any updates please

    #1433301

    Hi,
    Something must have gone wrong with your post to this thread with the login, because it is not showing.
    Please try loggin into the support forum and reply to this thread and include an admin login to your site in the Private Content area, instead of replying to a email notification.

    Best regards,
    Mike

    #1433304

    login details sent again

    #1433308

    Hi,
    They are not showing in the thread, are you “sending” the login info somewhere, or are you posting the info in the thread in the Private Content area?
    Enfold_Support_4639.jpeg

    Best regards,
    Mike

    #1433310

    sending in the private content area

    #1433344

    Hi,
    Unfortunately only your text message is showing:
    Enfold_Support_4641.jpeg
    are you pating just plain text?

    Best regards,
    Mike

    #1433486

    I am not pasting in login credentials i am typing them in, i have just added some text in private content box to see if you get it

    #1433488

    try again

    #1433675

    Hi,
    Thank you, the login is showing now, but I’m having trouble determining why this is not working on your site and it is on the three different demos that I have tested.
    Which demo import did you you start with?

    Best regards,
    Mike

    #1433679

    I didnt import a demo, just downloaded the theme from envato then uploaded to wordpress. This is an existing ecommerce site that i migrated which was using another theme, so as stated uploaded enfold then switched themes to enfold, then manually changed non woocommerce pages to use avia editor

    #1433713

    Hi,
    Thank you for your patience, I’m not sure why, but the layout of the elements is different on your site, so the css was not working, I adjusted the css to achieve what you wanted, please clear your browser cache and check. Please see the screenshots in the Private Content area of the results.

    Best regards,
    Mike

    #1433803

    Much appreciated Mike.
    Is there anyway for it not to be full width so elements are in line with rest of site below?
    Many thanks for your help

    #1433809

    Hi,
    To make the header have the same width as your page content, add this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .responsive #top #header #header_main {
        padding: 0 50px;
        margin: auto;
        max-width: 1310px;
    }

    but this will also effect your menu, since it is in the same element, so you may wish to remove the menu background color with this css:

    .responsive #top #header #header_main #header_main_alternate.container_wrap {
        background: #fff;
        border-top-style: none;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1433812

    thanks Mike
    its messing with borders around the title and breadcrumbs section now and i am planning to add a mega menu, so just wondering if its best to go back to full width. Will have a think

    but thanks again for all you help

    #1433842

    Hi,
    Ok, while you consider what is best for your site, shall we close this thread for this CSS layout issue then? You are always welcome to open new threads for future questions.

    Best regards,
    Mike

    #1433900

    Thanks Mike. yes close the thread

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Header Layout: Logo left, Widgets right, menu below’ is closed to new replies.