Ever thought about creating a sticky footer navigation like the ones you see in mobile apps?
You can create a sticky footer navigation using Elementor, whether you are using the free or paid version, and the result will look something like this
Curious? You can follow this tutorial to create a sticky footer navigation using Elementor.
How to Create a Sticky Footer Navigation in Elementor
To do this, you need to at least understand the basics of CSS, as you will be using CSS to adjust the style or appearance of this sticky navigation.
Additionally, for this tutorial, we are already on the Elementor page, so make sure you are comfortable creating pages using Elementor.
1. Create a New Container
The first step you need to take is to create a new container in Elementor by clicking the plus button (+) or you can simply drag the Container option from the Elementor panel
For the column structure, you can choose 2 columns or more, which will make it easier for you to create the navigation menu later.
2. Customize the Container
Next, you can customize the container you just added by clicking on the dice icon or the 6 dots located above the container
In the Content Widthoption, leave it as Boxed or Full Width (in this article, we will use Full Width). However, in the Width option, change the size according to your needs or design preferences. You can leave the rest as is, or adjust them later.
Next, you can also add a background to this Container so that your navigation menu does not interfere with or get obscured by other content.
Finally, open the Advanced tab and in the CSS ID option, give the class a name like wpgan-sticky-navigasi-footer or you can use another unique class. If you use a different class, make sure to adjust the CSS code that will be added in step number 4.
3. Add Content
You need to add the content that will be placed inside each container so it can be used as navigation.
For a recommendation, you can use the Icon Boxwidget, so the final result will look like this
4. Add HTML Code
Finally, you can add HTML code so that the menu you created becomes sticky or stays fixed at the bottom of the screen.
Search for and drag the HTML widget anywhere below the navigation menu you have created.
After adding the HTML, you can add the following code in the HTML column
<style> #wpgan-sticky-navigasi-footer{ position: fixed; bottom:10px; right: 0; left: 0; max-width: 400px; max-height: 70px; margin:auto; z-index: 1000; } #custom-html{ display:none; } #wpgan-sticky-navigasi-footer .elementor-icon-box-icon a.elementor-icon, #wpgan-sticky-navigasi-footer .elementor-icon-box-title a{ padding: 15px; margin: -15px; }</style>Once you have added the code, the result will look something like this
Make sure to hide the custom HTML you added by adding a CSS ID named custom-html or according to the ID you specified in line 12 of the code
5. Done
Congratulations! You have now successfully created a sticky footer navigation using Elementor, even without using the Pro version of Elementor.
You can adjust the CSS or other design elements to make the final result even better, as the sticky footer navigation created in this article is still a basic design without much customization.
COMMENTS
Loading...