Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #534966

    Hi There,

    We are struggling adding to border & margin for masonry blog module.
    if we add border it seems, there is a first empty item. And we are struggling adding a margin at the bottom or the top.

    Any hint?

    Thanks!

    #535249

    Hi elbnetz,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Thanks,
    Rikard

    #535296

    We solved the problem like this:

    /* Masonry Blogbeiträge Abstand & Rahmen */
    /* Abstand */
    .av-masonry-col-2 .av-masonry-entry {width: 46.8%;margin-right: 3%;}
    .av-masonry-container {width: 101%;}
    .av-large-gap.av-flex-size .av-masonry-entry .av-inner-masonry {margin-right:0px;}
    
    /* Fehlerkorrektur bei Rahmenfarbe einiger Beiträge?! */
    .av-masonry-entry, .av-masonry-entry:hover {color:#c7c7c7!Important;}
    
    /* Rahmen */
    .av-masonry-entry:before {
      content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    height: 92.25%;
    border-left: 1px solid #c7c7c7!Important;
    border-top: 1px solid #c7c7c7!Important;
    border-right: 1px solid #c7c7c7!Important;
      z-index: 100;
    }
    
    .av-masonry-entry:after {
    content: '';
    position: absolute;
    left: 0px;
    right:0px;
      top:-1px;
    bottom: 7.5%;
    border-bottom: 1px solid #c7c7c7!Important;
    z-index: 100;
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘border & margin for masonry blog module’ is closed to new replies.