3

In my site bootstrap grid column equal height not work. when my product name have long text then height creates issue for other column. to fix height issue i add two css but not work

Added css is

.demo{
 margin-bottom: -99999px;
 padding-bottom: 99999px;
 background-color:#efefef;
}
#equalheight {
 overflow: hidden;
}

My live page link given bellow, this page show column height problem

existing div structure

<div class="row ">
 <div id="equalheight">
 <div class="col-sm-6 col-md-4 wow fadeInUp demo">
 <div class="products ">
 </div>
 </div>
 </div>
</div>
asked Oct 29, 2016 at 17:09
0

1 Answer 1

1

Try using height instead of padding and margin. Padding and Margin makes the div expand with the info you put into it. With height, one the info inside (such as text or img) hits the edge of the div, your overflow will take over and hid any information that goes beyond the div.

answered Oct 29, 2016 at 18:15
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.