A
A
Andrew Chil2015-05-12 15:54:43
Drupal
Andrew Chil, 2015-05-12 15:54:43

How do you do responsiveness in Drupal?

Hello!
Interested in how experienced people make Drupal sites adaptive? What topics, modules do you choose for this?
Preferably step by step...
I ran into the following type of problem.
I made my first small site on Drupal, did everything on the zen theme (I read that it is adaptive).
On the site I created my own type of material, my own view (maybe something else was needed ?!) - pictures with text that are displayed in three columns.
And here is the question, how to make, for example, that those three columns become one on a smaller screen? I know that you can use css, but then why this adaptive zen theme?
Where do you even start adaptability in Drupal (I feel like I missed something)?
Thank you very much in advance for your advice)
df1d3dfbd8f94d4dba07a01d30485923.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
U
UksusoFF, 2015-05-12
@chil

htmlbook.ru/css/value/media
habrahabr.ru/company/paysto/blog/254871

A
afi13, 2015-05-12
@afi13

You can use any front-end framework like Bootstrap or Zurb Foundation ready theme . Create your own custom subtheme for it and change everything you need. In both frameworks, you can easily make three columns turn into one by simply adding the necessary classes. See the Bootstrap and Foundation documentation for more details .
Otherwise, use media. You can read more about responsive in Drupal in the book . See also the article on Habré

S
Sergey, 2015-05-12
@serega_kaktus

Adaptability is achieved through css in any case, it’s just that these rules are already described in zen and you don’t need to invent your own bike. in zen this is done via the @media rule , see the theme's css files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question