A
A
Alexander2016-09-29 23:46:42
Adaptive design
Alexander, 2016-09-29 23:46:42

How to set position using styles?

I'm trying to adapt one template.
On the desktop it looks like this:
left sidebar - central part (content) - right sidebar
On smartphones, I need it to look like this:
left (display none, that is, it is not shown at all)
|
central part (content)
|
right sidebar
The problem is that in the code the content part is located after the sidebar code, so if you remove the alignment on the sides and place the blocks one after the other, the content part always comes after the sidebars.
Any ideas what can be done?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question