Plugin interference with code html css
-
Hi, I made a menu with html and cs, but when I put it in the header of the site, it gets messed up, and when I disable the
Gutenverse plugin, it gets fixed.`<!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>
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}.navbar {
overflow: hidden;
background-color: #333;
}.navbar a {
float: left;
font-size: 16px;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}.subnav {
float: left;
overflow: hidden;
}.subnav .subnavbtn {
font-size: 16px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}.navbar a:hover, .subnav:hover .subnavbtn {
background-color: red;
}.subnav-content {
display: none;
position: absolute;
left: 0;
background-color: red;
width: 100%;
z-index: 1;
}.subnav-content a {
float: left;
color: white;
text-decoration: none;
}.subnav-content a:hover {
background-color: #eee;
color: black;
}.subnav:hover .subnav-content {
display: block;
}
</style>
</head>
<body><div class=”navbar”>
Home
<div class=”subnav”>
<button class=”subnavbtn”>About <i class=”fa fa-caret-down”></i></button>
<div class=”subnav-content”>
Company
Team
Careers
</div>
</div>
<div class=”subnav”>
<button class=”subnavbtn”>Services <i class=”fa fa-caret-down”></i></button>
<div class=”subnav-content”>
Bring
Deliver
Package
Express
</div>
</div>
<div class=”subnav”>
<button class=”subnavbtn”>Partners <i class=”fa fa-caret-down”></i></button>
<div class=”subnav-content”>
Link 1
Link 2
Link 3
Link 4
</div>
</div>
Contact
</div><div style=”padding:0 16px”>
</div>
</body>
</html>
The topic ‘Plugin interference with code html css’ is closed to new replies.
