Answer the question
In order to leave comments, you need to log in
How to swap .col order-?
Hello! help me please.
the menu should be at the very top on md permissions
<div class="container">
<div class="row align-items-start header-top ">
<div class="col-lg-3 block1 text-center img-fluid mt-3 d-none d-lg-block ">
<a href=""><img src="img/logoNewHeader.svg" alt=""></a>
</div>
<div class="col-lg-6 block2 shadow-sm bg-light rounded col-md-6-order-4">
<div class="row header-top align-items-center">
<div class="col block3">
<p class="maptag">
<img src="img/mapmarker.png" alt="">Город</p>
</div>
<div class="col block4 info text-center ">
<div class="row info ">
<div class="col info1"><a href=""><p>Доставка</p></a></div>
<div class="col info2"><a href=""><p>Оплата</p></a></div>
</div>
</div>
</div>
<div class="row header-phone align-items-center header-bottum">
<div class="col">
<a href="tel:+7 928 888 3151"><p>+7 928 888 3151</p></a>
</div>
<div class="col text-center">
<!-- Button trigger modal -->
<button type="button" class="btn btn-link" data-toggle="modal" data-target="#exampleModalCenter">
Заказать звонок
</button>
<!-- Modal -->
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Оставьте заявку</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Закрыть</button>
<button type="button" class="btn btn-primary">Отправить</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 block6 text-center col-md-3-order-3">
<div class="row align-items-center header-top">
<div class="col block7">
<p class="header-login">Войти</p>
</div>
<div class="col block8">
<p class="header-reg">Регистрация</p>
</div>
</div>
<div class="row align-items-end header-bottum hr-1">
<div class="col">
<p class="amount">
0.-</p>
</div>
<div class="col ">
<p class="basket">
<img src="img/cart.png" alt="">Корзина</p>
</div>
</div>
</div>
<div class="col-lg-12 shadow-sm bg-light rounded col-md-12-order-1">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar1" aria-controls="navbar1" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar1">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
<div class="dropdown-menu bg-dark" aria-labelledby="navbarDropdown1">
<a class="dropdown-item text-light" href="#">Action</a>
<a class="dropdown-item text-light" href="#">Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item text-light" href="#">Something else here</a>
</div>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-danger my-2 my-sm-0 " type="submit">Search</button>
</form>
</div>
</nav>
</div>
</div>
<div class="row ">
</div>
</div>
Answer the question
In order to leave comments, you need to log in
add order.
The 4th bootstrap even has classes in .order-md-1 https://getbootstrap.com/docs/4.0/utilities/flex/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question