-
AuthorPosts
-
January 28, 2020 at 10:13 pm #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
MauroJanuary 29, 2020 at 8:42 pm #1179554January 30, 2020 at 5:29 pm #1180028Hello,
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
MauroJanuary 30, 2020 at 5:33 pm #1180031Hey 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!
YigitJanuary 30, 2020 at 6:40 pm #1180050Hay 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
MauroFebruary 4, 2020 at 3:53 am #1181128Hi,
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,
IsmaelFebruary 4, 2020 at 5:19 pm #1181374Hi
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
MauroFebruary 4, 2020 at 5:27 pm #1181379Hi,
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,
YigitFebruary 4, 2020 at 5:49 pm #1181397ok 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- This reply was modified 4 years, 10 months ago by profumopuntoit.
February 6, 2020 at 5:43 pm #1182056Hi,
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,
YigitFebruary 7, 2020 at 1:26 pm #1182299Thank 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
MauroFebruary 12, 2020 at 4:21 am #1183736Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.