WP-Tiles icon indicating copy to clipboard operation
WP-Tiles copied to clipboard

Unable to change tile min-height

Open kotmatpockuh opened this issue 9 years ago • 1 comments

For example in css i set min-height for tile, but when i load page - height is calculated with a little bit of "magic". And it cause some "bad" .top offset How can i set min tile height?

kotmatpockuh avatar Oct 15 '15 20:10 kotmatpockuh

@kotmatpockuh changed through css:


.wp-tiles-container{
    height: auto!important;}

.wp-tiles-grid {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.wp-tiles-loaded .wp-tiles-tile {
    position: relative;
    width: width you want!important;
    height: height you want!important;
    top: 0!important;
    left: 0!important;
    margin-bottom: margin between tiles;
}

rubenmarcus avatar Jun 29 '17 23:06 rubenmarcus