Adding borders to tiles creates white space

  • Author
    Posts
  • #65119

    eerdmans
    Member
    Original poster

    Hi, I’m trying to create borders around each tile to give the featured images more breathing room. I added this CSS: .entry-image { border: 3px solid #00A4CC } and it did create a nice border; however, the tiles stopped auto-adjusting to the space so there is a large white space on the right side instead of being filled in with tiles.

    Hope that makes sense. I’m a little new to CSS so I’m not sure how this .entry-image had other effects.

    The blog I need help with is: eerdlings.wordpress.com

    #65270

    yuriyportnykh
    Theme Author

    Hi.

    Please, add the following code:

    .entry-image { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

    #65424

    eerdmans
    Member
    Original poster

    Thanks much! All fixed.

    #65425

    yuriyportnykh
    Theme Author

    You’re welcome

The topic ‘Adding borders to tiles creates white space’ is closed to new replies.