All Collections
Tweaks&Hacks
Add top navigation menu to the page
Add top navigation menu to the page
Aleks avatar
Written by Aleks
Updated over a week ago
  • Firstly, add an HTML widget to your page.

  • Then, copy and paste the following code into the HTML editor window.

<html>

<head>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<style>

body {

  font-family: Arial, Helvetica, sans-serif;

}

.navbar {

  overflow: hidden;

  background-color: #333;

}

.navbar a {

  float: left;

  font-size: 16px;

  color: white;

  text-align: center;

  padding: 14px 16px;

  text-decoration: none;

}

.navbar a:hover {

  background-color: red;

}

</style>

</head>

<body>

<div class="navbar">

  <a href="https://www.dragdropr.com/">Home</a>

  <a href="https://www.dragdropr.com/features/">Features</a>

 

</div>

</body>

</html>

Click on Save.

  • You'll see a top menu added to your page

In order to edit or add more items to the menu, follow the steps below:

  • click on Edit in HTML editor.

  1. If you want to change the button URL, change it in the line with "https://"  URL

This is how you do that:

2. Change Menu button names by replacing the highlighted words in the screenshot with the needed ones

Check the video below:

3. To add more buttons to the menu, copy the line with the button's name and paste it below. Don't forget to change the name of the new button:)

Check a short video on this:

Let us know if any questions arise!

Did this answer your question?