I want to center the div that are showing recent posts

Hey,

I want to center the div that are showing recent posts on my website. Right now it looks like it's pushed more to the left than right. I just want the content to be centered.
Can this be done with CSS?

http://www.bloggerspoint.dk

  • Predrag Dubajic

    Hey @Mathias,

    Hope you're doing well today :slight_smile:

    I had a look at your site and the div holding your posts is actually centered but the posts are not taking up the entire width of that holder and thus are pushed to the left.

    I see that this CSS is affecting the posts:

    li.crop-square {
      margin: 0 !important;
      padding: 0;
      width: 21% !important;
      position: relative;
      margin-right: 15px !important;
      margin-left: 15px !important;
      margin-bottom: 90px !important;
    }

    You can try changing width to 22% or try increasing left and right margin to make the take up full width.

    Let me know if you require more help with this.

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.