Weird space on twentysixteen to right hand side on site-content
-
Hello I have been trying my best to make a 8 grid layout for my index page however what ever I try on what ever default theme I always seem to be getting this weird space to the right of the last .post in the row
even though it should not be there. Its seems wordpress wants to make my site content full width no matter what.for instance if I strip the twetnysixteen theme and have just
body.blog article, body.archive article { width: 12.5%; display: inline-block; vertical-align: top; text-align: left; margin-bottom: 10px; position: relative; }
the problem gets worse the more columns I have per row.
also this happens on the twentythirteen theme
here’s a link to an image of it in action when using this code to sort the posts
.blog .post { position: relative; float: left; font-size: 15px; line-height: 22px; background: #fff; border-radius: 4px; box-shadow: 0 4px 4px rgba(0,0,0,0.3); margin: 0 22px 22px 0; position: relative; width: 13%; padding-bottom: 0px; margin-right: 1%; margin-left: 1%; }
https://utterli.com/wp-content/uploads/rtMedia/users/2/2016/04/stupid-gap-shouldnt-exist-800×360.png
Please help.
thank you
- The topic ‘Weird space on twentysixteen to right hand side on site-content’ is closed to new replies.