Having some trouble with the dropdown menu in my navbar:
It's working fine when I test it on my browser, but once I put it on my blogger site, it stops functioning completely:
Here is the code snippet along with the expected output:
Result Size: 945 x 903
<!DOCTYPE html>
<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>
.navbar {
overflow: hidden;
background-color: #333;
font-family: Arial, Helvetica, sans-serif;
}
.navbar a {
float: left;
font-size: 16px;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
...
The link isn't functional in the blog environment: https://i.sstatic.net/V9ujX.png
I intend to populate this dropdown with popular posts, archives, and tags from the blog.
PS: Utilizing blogger for my website.
Thank you! =)
Updated:
This is how I'm implementing the navbar:
<div id='header-holder'>
<header class='clearfix'>
...
</div>
</header>
<div class='navbar'>
...
</div>
</div>
The css
within the blogger
looks like this:
.dropdown .dropbtn {
cursor: pointer;
...
}
...