Hello all i have several section where i’d like to use toggles to hide/show info and then masonry so align it.
I have a sample here in this code pen. http://codepen.io/pdxSherpa/pen/ByyxVB
It is not working. I’ll also add that i’d have several such sections throught one page.
I tried using
.detail .specs{
display:inline-block;
background:#0071c5;
padding:5px;
width:50px;
height:50px;
box-sizing: border-box;
}
.detail .specs img{
display:block;
margin:0px auto;
vertical-align:center;
padding:0px;
}
.detail .specs>p{
display:none;
}
```to hide the text below the images used for toglles &
.detail .specs p{
display:none;
}
that didn't work either.
Could i please get some advice on how to fix this?
thank you
D
Seems to work could you please offer some advice on improving on it? Also now i can’t seems to reproduce it in the codepen but while i have succsfully hidden the text my images and specs divs that are ‘’’ display:inline-block``` and were doing so before are now stacking up on top of each other.