A
A
Anton2015-05-20 08:48:27
css
Anton, 2015-05-20 08:48:27

How to make the content taller than the sidebar on the mobile version?

Here is the situation.
There is a structure like this

<div class="row">
  <div class="col-md-4 col-xs-12">типа сайдбар</div>
  <div class="col-md-8 col-xs-12">контент</div>

</div>

the first div is the left menu, the second div is the content.
When you enter from a mobile phone, the left sidebar is the first thing to do, and if it is long, it takes up 5-8 mobile screens. And you will get to the content.
How to make sure that the content was the first on the mobile version?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Malinochkin, 2015-05-20
@isay777

<div class="row">
  <div class="col-md-8 col-md-push-4">Контент</div>
  <div class="col-md-4 col-md-pull-8">Сайдбар</div>
</div>

More on this in the documentation .

E
Evgeny Perin, 2015-05-20
@seoperin

<div class="row">
  <div class="col-md-8 col-xs-12 pull-right">контент</div>
  <div class="col-md-4 col-xs-12 pull-left">типа сайдбар</div>
</div>

Can it be like this

S
SevenWitches, 2019-05-16
@SevenWitches

So, in which file do you need to change all this, m?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question