C
C
CREV2017-08-30 12:22:41
CMS
CREV, 2017-08-30 12:22:41

How to make an image or block responsive in open cart 2?

Greetings to everyone, help me figure it out, in general, on the main page under the banner through the html module, I inserted a block with pictures, text, video, the site template itself is adaptive and all its content adapts when the screen changes, but the block that I inserted does not fit into the dimensions when changing the resolution, and specific pictures and videos are cropped, how can they also be made rubber?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
one_day, 2017-08-30
@CREV

Write a class to img img-responsive:

<img class="img-responsive" src="img.jpg" alt="img">

P
Pavel, 2017-08-30
@PavelMonro

Go and see the bootstrap documentation
Bootstrap does not have styles for responsive videos, but it is easy to google for responsive video css, one of the options is here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question