In a previous tutorial, we saw how to set the Divi menu at the top of the screen after the page scroll. In this article, we will see how to obtain a fixed menu at the bottom of the page.
On the agenda of this article:
- The prerequisites
- Create a fixed menu at the bottom of the page
- Optimize the mobile version
- Take into account the design
Advertisement: This article contains affiliate links that you will easily recognize. The classic links are in purple and sponsored links are in pink.
1 - The prerequisites
First of all, you should hide the display of the Divi main menu as explained in this tutorial.
Then, go to the page to be modified, the one where you want to set the menu at the bottom of the page and activate the Visual Builder.
Did you know that you can test Divi for free? Go to this page and click on "TRY IT FOR FREE"
2 - Create a fixed menu at the bottom of the page
- Add a Full Screen section to your layout. You can insert it anywhere because it will not affect its final position. Within this section, insert a "Full Screen Menu" module. You can choose the menu of your choice: it must have been created beforehand in the Appearance tab > Menu.
- Open the settings of the Full Screen section by clicking on the wheel icon.
- Add a CSS ID to the "Advanced" tab. Enter: "admenu".
- In this Full Screen section, add a Code module.
- Go to the "Content" tab
- Enter the CSS code below between the tags
For more information on when using the Divi Code module, read this article.
3 - Optimize the mobile version
With the few previous steps, you are in possession of a footer fixed menu.
However, it is possible that the mobile version is not optimal. Make sure you tick the right options so that the menu is also available in a mobile version.
In the settings of the Full Screen Menu module, go to the "Style" tab and make sure that the "Open submenus" option is set to "Up".
Thus your fixed menu will drop up, in mobile version (and desktop version). This is important, otherwise the sub-elements of your menu will not be visible at all.
4 - Take into account the design
The "sticky footer" menu gives a site an original style, however, make sure that it does not interfere with your other design elements.
So make sure you make choices and don't mix everything within the same page or site.
To go further, I propose you 2 other tutorials to make the docker menu at the bottom of the page:
- Make the docker menu in footer then at the top of the screen after the scroll
- Force the footer to go to the bottom of the screen even if the content is too small
Need more resources on Divi? Visit ElegantThemes' blog full of ideas and tutorials!