WordPress.org

Ready to get started?Download WordPress

Forums

large blank spaces are appearing in between articles?? (5 posts)

  1. havingfun
    Member
    Posted 1 year ago #

    I am using the Creativix theme and my site can be viewed here. Please take a look at the frontpage and you will see large spacing in between some of the articles. This happens when I add a new posting but not all the time. How can i fix this please?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    You need to add a clear: left style to each post item that starts a new row, otherwise you'll see some items pushed aside due to un-even item heights.

  3. havingfun
    Member
    Posted 1 year ago #

    Andrew...sorry to ask this but where exactly do I place the "style?" I placed the style within the end of each article's code but it did not do anything. Although I wish I was, I am not familiar with coding. Where do I place the style?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    It'll be in the CSS, do you have a Custom CSS plugin or Child Theme?
    The CSS you'll need to add is;

    .feat-post:nth-child(2n+1) {
     clear: left;
    }

    Here's an explanation on nth-child
    http://css-tricks.com/useful-nth-child-recipies/

  5. havingfun
    Member
    Posted 1 year ago #

    Andrew...thank you Andrew for your guidance for us rookies!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.