I have a requirement to use a single image on two different Bootstrap navbars. However, the issue is that the image appears split between the two navbars.https://i.stack.imgur.com/jUnIL.png
My goal is to display the full image without it being divided between the navbars. Here's an excerpt from my code:
<nav class = "navbar navbar-fixed-top">
<nav calss = "navbar navbar-default">
<div class="container-fluid">
<ul class = "nav navbar-nav navbar-top navbar-right">
<li><a class = "links" data-page = "us_hu" href = "#index_hu">Rólunk</a></li>
<li><a class = "links" data-page = "services_hu" href = "#services_hu">Szolgáltatások</a></li>
<li><a class = "links" data-page = "actual_offers_hu" href = "#actual_offers">Aktuális ajánlatok</a></li>
<li><a href="./">EN</a></li>
</ul>
</div>
</nav>
<body id = "page-top" data-spy = "scroll" data-target = ".navbar-fixed-top" data-offset="40">
<nav class = "navbar navbar-fixed-top" style = "top:35px;">
<nav class = "navbar navbar-default">
<div class = "container-fluid">
<div class = "navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#matomNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#matomPage">M.aTom</a>
</div>
<div class="collapse navbar-collapse" id="matomNavbar">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#our-task">Alapelvünk</a></li>
<li><a href="#gallery">Galéria</a></li>
<li><a href="#about">Rólunk</a></li>
<li><a href="#team">Csapat</a></li>
<li><a href="#contact">Kapcsolat</a></li>
</ul>
</div>
</div>
</nav>
</nav>
CSS:
.navbar {
font-family: 'Overpass', sans-serif;
margin-bottom: 0;
/*background-color: #4c4c4c; */
background-image: url('../images/ten.png');
border: 0;
font-size: 12px !important;
line-height: 1.42857143 !important;
letter-spacing: 1px;
border-radius: 0px;
min-height: 0px;
}