U
U
Underdoggit2018-05-02 20:11:22
HTML
Underdoggit, 2018-05-02 20:11:22

How to set the height of the desired block if clearfix does not help?

5ae9f3b7be1f8505791386.pngHelp forum users, I made a gallery (.production) , but it has a zero height - it feels like it was made on floats, although the documentation says that flexes and grids. And because of this, the methods block crawls under productions , maybe where did you make a mistake?
https://goreska.github.io/ - check the productions block, clearfix does not help if applied to the jqery plugin itself - the block takes the right height, but the plugin stops working.
Plugin - galereya - vodkabears.github.io/galereya
PS: This is how I set clearfix, the height is normal, but the plugin dies.

<div class="container-fluid">
      <div class="gallery-wrapper">
        <div id="galleryherepls clearfix">                                        !!!!!!!!
          <img 	src="img/galereya/thumbnails/gal1.jpg"
                    alt="Energy Diet Smart"
                    data-desc="Функциональное питание"
                    data-category="Energy Diet"
                    data-fullsrc="img/galereya/gal1.jpg"
/>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Varyukhin, 2018-05-02
@Underdoggit

You have .galereya-gridonly elements in the container with of position: absolute;course the block itself is zero.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question