Bootstrap navbar does toggle - html

I have the nav bar menu as below. one button for the menu on the left, and one button for the dropdown on the right. When the screen display in small screen the menu is always show but not collapsed.
When I click the button it doesn't collapse the menu.
Could you please advise?
<div class="container">
<div class="navbar navbar-light navbar-expand-lg logo-background container shadow">
<button class="sidebar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">>
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand navbar-brand-custom"><img src="Content/Jeo/images/logo.svg" alt="" class="logo-shape"/></a>
<div class="navbar-text navbar-text-custom">
<div class="application-name"><%=GetResource("Jeo")%></div>
<div class="application-name" style="margin-top: 4px"><%=GetResource("Management")%></div>
</div>
<div class="navbar-collapse collapse" id="navbarSupportedContent">
<div class="navbar__menu">
<ul class="navbar-nav">
<li class="nav-item navbar__menu-item active">
<a class="nav-link text-white" href="Default"><%=GetResource("JView")%></a>
</li>
<li class="nav-item navbar__menu-item">
<a class="nav-link text-white" href="TechView"><%=GetResource("TView")%></a>
</li>
</ul>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapse">
<span class="ua-icon-navbar-open navbar-toggler__open"></span>
<span class="ua-icon-alert-close navbar-toggler__close"></span>
</button>
<div class="dropdown navbar-dropdown" id="navbar-collapse">
<a class="dropdown-toggle navbar-dropdown-toggle navbar-dropdown-toggle__user caret-off" data-toggle="dropdown" href="#">
<asp:Image ID="ImgAvatar" runat="server" class="rounded-circle img-hover" Height="30px" Width="30px" />
</a>
<div class="dropdown-menu navbar-dropdown-menu navbar-dropdown-menu__user">
<asp:LinkButton ID="btnLanguageFrench" runat="server" class="dropdown-item" OnClick="btnLanguageFrench_Click"><%=GetResource("French")%><i class="fas fa-globe fa-pull-right dropdown-item-padding-top"></i></asp:LinkButton>
<asp:LinkButton ID="btnLanguageEnglish" runat="server" class="dropdown-item" OnClick="btnLanguageEnglish_Click"><%=GetResource("English")%><i class="fas fa-globe fa-pull-right dropdown-item-padding-top"></i></asp:LinkButton>
</div>
</div>
</div>
</div>
<div class="body-content">
<asp:ContentPlaceHolder ID="MainContent" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
Thank you

You can do that with only CSS, and media query to work only for small screen
#media (max-width: 680px) {
.navbar .dropdown-menu.yourclass {
display: block!important;
}
}
Jus add yourclass to that dropdown-menu which you want to keep opan always.
For more examples check http://bootstrap-menu.com

Related

The row before Nav bar is not visible in bootstrap html

I am trying to add the row before the nav bar, but after adding the row , it is not visible and the rows is covered by nav bar. How can I show the row before the Nav bar
<header id="header">
<div class=row>
The text is not visible here
</div>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-dark bg-dark-header fixed-top" id="main-nav">
<div class="w-100 d-flex">
<a class="navbar-brand mx-md-auto" href="#">
<img src="img/logo.png" alt="Logo" height="80px" width="auto">
</a>
<button class="navbar-toggler ml-auto" type="button" data-toggle="collapse" data-target=".navbar-collapse">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<div class="container">
<img src="img/Logo.png" class="img-responsive" alt="" style="width:250px;">
<a class="navbar-brand" href="/">MyCompany</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/Home/Privacy">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/Home/Privacy">Our Project</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/Home/Privacy">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="text-light" style="position: fixed;">
The text is not visible here
</div>
you have to add a position to that div because it's overlaps with that header.
Class fixed-top is add to the nav element which sticks the navigating at top, and hides the above .row element.
You can Either remove the fixed-top class from navigation, if you dont need top fixed navigation
Add the .row element inside the navigation, which will fix the row at top of the navigation

How can I position my dropdown menu to the right in mobile?

I'm creating a responsive website using Bootstrap 4. In desktop, things look good. However, in mobile, my logo stays in the center and the menu stays in the left. Here's my codepen.
This is what I need to achieve:
This is what I'm getting:
I am using this code according to Bootstrap's documentation.
This is my Navbar's code:
<nav class="navbar navbar-expand-lg nl-navbar navbar-light">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-
target="#navbarTogglerDemo02">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="service-main-landing.html">
<img src="images/logo-header.svg" alt="Logo Reebit" class="col-lg-7 col-md-4
col-sm-7 col-7"/>
</a>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link mr-3" href="#">Contactar un profesional</a>
</li>
<li class="nav-item active">
<a class="nav-link mr-4" href="#">Registrarme</a>
</li>
<li class="nav-item active">
<a class="nav-link mr-4" href="#">Iniciar sesión</a>
</li>
<button class="btn my-2 my-sm-0 nl-btn-nav-secondary" type="button" data-
toggle="modal" data-target="#registrationModal"
id="landingRegistrationNavBtn">Publicar servicio</button>
</ul>
</div>
</nav>
Switch your navbar-toggler position with navbar-brand.
<a class="navbar-brand" href="#">
<img src="https://via.placeholder.com/150" class="col-lg-7 col-md-4 col-sm-7 col-7">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02">
<span class="navbar-toggler-icon"></span>
</button>
Additional: Seems like you misunderstood Bootstrap's grid system. col should be direct child of row like this:
<div class="row">
<div class="col">
</div>
<div class="col">
</div>
</div>

Bootstrap navbar menu not displayed on mobile

I am using bootstrap 4 to make a simple theme.
My problem is, that when I view the page on mobile, and click the menu button, the menu shows up for 1 second, and then hide it self. If I click the button gain, it wont show up.
Demo site here
My menu source code from the browser (I don't use the sticky classes)
<header class="header header-sticky- header-transparent__">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="navbar navbar-expand-lg">
<!-- Logo START -->
<a class="navbar-brand" title="IQ Logistics Kft." href="https://kozetgyapot-arak.hu">
<img class="img-fluid" src="https://themes.potenzaglobalsolutions.com/html/bulky/images/logo.svg" alt="IQ Logistics Kft.">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav m-auto_">
<li class="nav-item"><a class="nav-link" title="Kezdőlap" href="https://kozetgyapot-arak.hu/">Kezdőlap</a></li><li class="nav-item"><a class="nav-link" title="Rólunk" href="https://kozetgyapot-arak.hu/rolunk">Rólunk</a></li><li class="nav-item"><a class="nav-link" title="Szolgáltatások" href="https://kozetgyapot-arak.hu/szolgaltatasok">Szolgáltatások</a></li><li class="nav-item"><a class="nav-link" title="Elérhetőségeink" href="https://kozetgyapot-arak.hu/elerhetosegeink">Elérhetőségeink</a></li> </ul>
</div>
<div class="mr-5 mr-lg-0 d-sm-flex d-none align-items-center">
<a class="btn btn-primary" href="https://kozetgyapot-arak.hu/arajanlat-kerese">Árajánlat kérése <i class="fa fa-chevron-right ml-1"></i></a>
</div>
</nav>
</div>
</div>
</div>
</header>
Thank you, if someone can help me.
It seems to work fine with this html. Note that I did leave out the Font Awesome stylesheet in the snippet below. Also note that the popper script is bundled in the bootstrap script so you heave to remove it from your project as an extra script.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap#4.5.3/dist/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap#4.5.3/dist/js/bootstrap.bundle.min.js"></script>
<header class="header header-sticky- header-transparent__">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" title="IQ Logistics Kft." href="https://kozetgyapot-arak.hu">
<img class="img-fluid" src="https://themes.potenzaglobalsolutions.com/html/bulky/images/logo.svg" alt="IQ Logistics Kft.">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav m-auto">
<li class="nav-item"><a class="nav-link" title="Kezdőlap" href="https://kozetgyapot-arak.hu/">Kezdőlap</a></li>
<li class="nav-item"><a class="nav-link" title="Rólunk" href="https://kozetgyapot-arak.hu/rolunk">Rólunk</a></li>
<li class="nav-item"><a class="nav-link" title="Szolgáltatások" href="https://kozetgyapot-arak.hu/szolgaltatasok">Szolgáltatások</a></li>
<li class="nav-item"><a class="nav-link" title="Elérhetőségeink" href="https://kozetgyapot-arak.hu/elerhetosegeink">Elérhetőségeink</a></li>
</ul>
</div>
<div class="mr-5 mr-lg-0 d-sm-flex d-none align-items-center">
<a class="btn btn-primary" href="https://kozetgyapot-arak.hu/arajanlat-kerese">Árajánlat kérése <i class="fa fa-chevron-right ml-1"></i></a>
</div>
</nav>
</div>
</div>
</div>
</header>

Bootstrap 4 navigation bar displays ml-auto items stacked on each other when screen is resized

I have created two navigation bars, where the one below is included in the dropdown toggle icon when screen becomes small. On the first navigation bar, I have two items pushed to the far right. When I resize the screen, I can see the hamburger icon; however, these items become stacked on each other. I know that if I use navbar-expand the items will be displayed properly, but then the hamburger icon won't be shown.
This is my code:
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js#1.16.0/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet"/>
<!-- First navigation bar -->
<div class="container-fluid" style="margin-top: 0px;">
<nav class="navbar navbar-light navbar-expand-sm bg-white">
<div id="burger">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation" style="border: none; background: none; outline:none;">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<a class="navbar-brand" href="#"> <img src="assets/logo/logo.PNG" width="160" height="60" class="d-inline-block align-top" alt=""> </a>
<div class="navbar-nav ml-auto"> <!-- the items on the right -->
<div class="dropdown item" style="margin-top: 12px; margin-right: 10px;">
<button class="no-style dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="notification_button">
<span class="icon icofont-notification text-secondary"></span>
<div>
<span class="badge badge-danger badge-sm">6</span>
</div>
</button>
</div>
<div class="dropdown item">
<button class="no-style dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-offset="0, 10" style="border: none; background: none; outline:none;">
<span class="d-flex align-items-center">
<img src="/assets/content/user.jpg" style="border-radius: 500px!important;" alt="" width="40" height="40" class="mr-1"> <i class="icofont-simple-down"></i>
</span>
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" x-placement="bottom-end">
<span class="icon icofont-ui-home"></span> Edit account
<span class="icon icofont-ui-user"></span> User profile
<span class="icon icofont-ui-calendar"></span> Calendar
<span class="icon icofont-ui-settings"></span> Settings
<span class="icon icofont-logout"></span> Log Out
</div>
</div>
</div>
</nav>
</div>
<!-- Second navigation bar -->
<div class="container-fluid" style="margin-top: -10px;">
<nav class="navbar navbar-light navbar-expand-sm">
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-item nav-link" href="/link-1">link</a>
<a class="nav-item nav-link" href="/link-2">link</a>
<a class="nav-item nav-link" href="/link-3">link</a>
</div>
</div>
</nav>
</div>
How can I display the hamburger and the two items on the right without having them stacked on each other?
They are stacked on each other because their container has the navbar-nav class apllied, which contains the property "flex-direction:column", you should apply "flex-direction:row" instead in the css, or the class "flex-row" in the html:
<div class="navbar-nav ml-auto flex-row">
</div>
Your problem is that the style
.navbar-expand-sm .navbar-nav {
-ms-flex-direction: row;
flex-direction: row;
}
in _navbar.scss is limited to a min-width of 576px using a media query.
In order to achieve your goal you can apply the style manually resulting in your items not get stacked anymore, like this:
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js#1.16.0/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet"/>
<style>
#right-navbar {
-ms-flex-direction: row;
flex-direction: row;
}
</style>
<!-- First navigation bar -->
<div class="container-fluid" style="margin-top: 0px;">
<nav class="navbar navbar-light navbar-expand-sm bg-white">
<div id="burger">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation" style="border: none; background: none; outline:none;">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<a class="navbar-brand" href="#"> <img src="assets/logo/logo.PNG" width="160" height="60" class="d-inline-block align-top" alt=""> </a>
<div id="right-navbar" class="navbar-nav ml-auto"> <!-- the items on the right -->
<div class="dropdown item" style="margin-top: 12px; margin-right: 10px;">
<button class="no-style dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="notification_button">
<span class="icon icofont-notification text-secondary"></span>
<div>
<span class="badge badge-danger badge-sm">6</span>
</div>
</button>
</div>
<div class="dropdown item">
<button class="no-style dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-offset="0, 10" style="border: none; background: none; outline:none;">
<span class="d-flex align-items-center">
<img src="/assets/content/user.jpg" style="border-radius: 500px!important;" alt="" width="40" height="40" class="mr-1"> <i class="icofont-simple-down"></i>
</span>
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" x-placement="bottom-end">
<span class="icon icofont-ui-home"></span> Edit account
<span class="icon icofont-ui-user"></span> User profile
<span class="icon icofont-ui-calendar"></span> Calendar
<span class="icon icofont-ui-settings"></span> Settings
<span class="icon icofont-logout"></span> Log Out
</div>
</div>
</div>
</nav>
</div>
<!-- Second navigation bar -->
<div class="container-fluid" style="margin-top: -10px;">
<nav class="navbar navbar-light navbar-expand-sm">
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-item nav-link" href="/link-1">link</a>
<a class="nav-item nav-link" href="/link-2">link</a>
<a class="nav-item nav-link" href="/link-3">link</a>
</div>
</div>
</nav>
</div>
The result looks like the following:
Good luck!

grids showing full page when the height is set to 100%

Since some time I have been working on a chat room layout and the main concept of my website (Which i'll be showing) is that I have a fixed navbar and a fixed bottom footer (Bootstrap 4). So between them I added a grid system with 3 columns (3 + 6 + 3) Now I want the grid system to be the height so it covers the whole area between the navbar and the footer. But the problem is when I give them the height of 100% a scrollbar comes up and makes it a full page grid.
My Code :
.dropdown-toggle::after {
content: none;
}
body {
margin: 0;
padding: 0;
}
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<nav class="navbar navbar-expand navbar-dark" style="background-color:#3A5070">
<a class="navbar-brand" href="#">LOGO</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<img src="https://image.flaticon.com/icons/svg/1156/1156949.svg" width="25" style="margin-top:10px;margin-right:15px;" />
</li>
<li class="nav-item">
<img src="https://image.flaticon.com/icons/svg/813/813020.svg" width="25" style="margin-top:10px;margin-right:15px;" />
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="libs/images/icon.png" width="35" />
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown" style="margin-top:7px;border-radius:0px;width:110%;">
<a class="dropdown-item" href="#">Edit Profile</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Logout</a>
</div>
</li>
</ul>
</div>
</nav>
<div class="row no-gutter" style="height:100%">
<div class="col-3" style="background: orange;">col-3</div>
<div class="col-6" style="background:black;">col-6</div>
<div class="col-3" style="background: orange;">col-3</div>
</div>
<nav class="navbar fixed-bottom navbar-light " style="background-color:#3A5070">
<a class="navbar-brand" href="#"></a>
</nav>
Use calc() to calculate the height of a element:
<style>
.full_height {
height: calc(100vh - 82px);
overflow: auto;
}
</style>
.full_height {
height: calc(100vh - 82px);
overflow: auto;
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.0/css/bootstrap.min.css" rel="stylesheet"/>
<nav class="navbar navbar-expand navbar-dark" style="background-color:#3A5070">
<a class="navbar-brand" href="#">LOGO</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<img src="https://image.flaticon.com/icons/svg/1156/1156949.svg" width="25"
style="margin-top:10px;margin-right:15px;" />
</li>
<li class="nav-item">
<img src="https://image.flaticon.com/icons/svg/813/813020.svg" width="25"
style="margin-top:10px;margin-right:15px;" />
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<img src="libs/images/icon.png" width="35" />
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown"
style="margin-top:7px;border-radius:0px;width:110%;">
<a class="dropdown-item" href="#">Edit Profile</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Logout</a>
</div>
</li>
</ul>
</div>
</nav>
<div class="container-fluid full_height">
<div class="row no-gutter text-center" style="height:100%">
<div class="col-3" style="background: orange;">col-3</div>
<div class="col-6" style="background:black;color:white;">col-6</div>
<div class="col-3" style="background: orange;">col-3</div>
</div>
</div>
<nav class="navbar fixed-bottom navbar-light " style="background-color:#3A5070">
<a class="navbar-brand" href="#"></a>
</nav>
codepen link
Use CSS flex. Giving height 100% will take all the height inherits from its parent. here you are trying to set the content height to 100%. So it takes all height available and there is no space for header and footer. If you try to include header and footer with the content then the page gets overflow. So the scroll comes.
body{
margin:0;
padding:0;
display:flex;
height: 100%;
position: absolute;
width: 100%;
flex-direction:column;
}
.row.no-gutter {
flex: 1;
overflow: auto;
margin: 0;
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<nav class="navbar navbar-expand navbar-dark" style="background-color:#3A5070">
<a class="navbar-brand" href="#">LOGO</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<img src="https://image.flaticon.com/icons/svg/1156/1156949.svg" width="25" style="margin-top:10px;margin-right:15px;"/>
</li>
<li class="nav-item">
<img src="https://image.flaticon.com/icons/svg/813/813020.svg" width="25" style="margin-top:10px;margin-right:15px;"/>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="libs/images/icon.png" width="35" />
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown" style="margin-top:7px;border-radius:0px;width:110%;">
<a class="dropdown-item" href="#">Edit Profile</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Logout</a>
</div>
</li>
</ul>
</div>
</nav>
<div class="row no-gutter" >
<div class="col-3" style="background: orange;">col-3</div>
<div class="col-6" style="background:black;">col-6</div>
<div class="col-3" style="background: orange;">col-3</div>
</div>
<nav class="navbar fixed-bottom navbar-light " style="background-color:#3A5070">
<a class="navbar-brand" href="#"></a>
</nav>