Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1179217

    Hello
    Is it possible to build with Enfold a sticky menu bar in footer with icons like the one below in the private content?

    thank you very much
    Mauro

    #1179554

    Hey profumopuntoit,

    I do not see the sticky icons at the bottom, you can try to add the icons next to the copyright and make that area sticky
    Image 2020-01-29 at 20.42.04.png

    Best regards,
    Victoria

    #1180028

    Hello,

    I forgot to say that the sticky bar is only in mobile view, sorry

    You will not be able to see it from developer tools in mobile mode (CTRL+SHIFT+M)

    I haven’t understood exactly what you suggest with that screenshot. Can you send it in text format, please?

    Thank you
    Mauro

    #1180031

    Hey Mauro,

    You can add a widget area to your header by referring to this post – https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area and display it only on mobile and fixed at the bottom of the screen using custom CSS.

    Let us know if you need help after adding your widget to header.

    Cheers!
    Yigit

    #1180050

    Hay Yigit,
    I have added the widget area called header … and now what should I do?
    I would like to have a full-width sticky navigation bar with drop-down like in the example
    If I have to build from scratch a complete HTML code for a navigation bar, it will be quite long. I wonder if it is possible to create an additional menu and with some CSS stick it to the bottom of the page
    Please see attachment
    Thank you
    Mauro

    #1181128

    Hi,

    Thank you for the update.

    Where can we see the site? Please provide the URL in the private field so that we can see what you have done so far.

    Best regards,
    Ismael

    #1181374

    Hi
    Please see the private field
    At the moment I have just added the widget area and added to it as a test a navigation menu widget that for the moment is vertical and not sticking to the bottom
    Thank you
    Mauro

    #1181379

    Hi,

    Please try adding following code to Quick CSS

    #header .widget {
        position: fixed;
        bottom: 0;
        top: auto;
        width: 100%;
    }
    @media only screen and (min-width: 768px) {
    #header .widget {
        display: none; 
    }}

    Best regards,
    Yigit

    #1181397

    ok thank you like this is sticking to the bottom (with a few !important; additions)
    #header .widget {
    position: fixed !important;
    bottom: 81px;
    top: auto !important;
    width: 100% !important;
    }

    now how to make it horizontal?

    Thank you
    Mauro

    #1182056

    Hi,

    Sorry for the late reply!

    I came up with a better solution as currently there is a z-index issue.

    Please delete the code you added to display widget area in header and add following one to functions.php file instead

    add_action('ava_before_footer', 'av_add_footer_content');
    function av_add_footer_content(){
    	dynamic_sidebar( 'header' );
    }

    Then you can inspect elements to find your widget ID – https://imgur.com/a/BaPagcQ and use custom CSS code as following (widget ID in my case is “custom_html-6”)

    #custom_html-6 {
        position: fixed;
        bottom: 0;
        z-index: 2;
        width: 100%;
    }

    If you need our assistance with this, please create temporary admin logins and post them here privately :)

    Best regards,
    Yigit

    #1182299

    Thank you Yigit,
    I have changed the code
    In my case css should be
    #nav_menu-2 {
    position: fixed;
    bottom: 0;
    z-index: 2;
    width: 100%;
    }

    Please see in private content
    Thank you
    Mauro

    #1183736

    Hi,

    Thank you for the info.

    You can add the following css code to align the menu items horizontally and limit the height of menu container. If you want to add the icons, in the Appearance > Menus panel you can manually insert the image or icon html in the menu items’ Navigation Label field.

    #nav_menu-2 {
    	position: fixed;
    	bottom: 0;
    	z-index: 2;
    	width: 100%;
    	height: 60px;
    }
    
    #nav_menu-2 .menu li {
    	float: left;
    	clear: none;
    	width: 33.33%;
    	background: red;
    	margin: 0;
    }
    
    @media only screen and (min-width: 768px) {
       #header .widget {
           display: none; 
       }
    }

    Unfortunately, we can’t help you add extra options like the sliding containers for the search field or the category list. It’s beyond the scope of support.

    Best regards,
    Ismael

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