I
I
Ivan2020-05-02 09:11:58
css
Ivan, 2020-05-02 09:11:58

How to stretch the VK group widget over the entire height of the block?

Hello everyone! Faced such a situation. You need to stretch the VK group widget over the entire height of the parent block. And the parent block is equal to the height of the window. How to do it?

I do it and it doesn't work. In widget options, 100% height doesn't roll.

#vk_groups {width:100%!important;height:100%!important}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lord_Dantes, 2020-05-02
@Lord_Dantes

Well, if it is equal to the height of the window, put 100vh

O
olegbnig1, 2020-05-02
@olegbnig1

Through the developer tools in the browser, look at the inner blocks of the widget, set their height and immediately stretch and narrow the browser. That's how you find a solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question