• Resolved mpow

    (@mpow)


    How does one create a transparent space between each post? As it comes, the posts are all connected as one big white vertical thread.

    is it css? php? I just cant seem to figure it out. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter mpow

    (@mpow)

    yeah, I thought so too, but when I add more to the appropriate margin in adds more white space instead of clear space. How do i make it clear without making the entire post thread clear?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Oh, I think I understand. Perhaps you need to close off the element that has the white background, then start a new one after it?

    This is what I think you have at the moment: http://cssdesk.com/TvJD5

    So, to resolve that you’d close off the element that has the white background and start a new:

    <div class="post">
      <div>
        This is an example of a post.
      </div>
    </div>
    <div class="post">
      <div>
        this is an example of another post :)
      </div>
    </div>

    Thread Starter mpow

    (@mpow)

    got it. trick it to move a background color css in to the .type-post but make sure that there is none in the content {}, as that creates a style rule for the entire content of the page that overrides the other styles.

    whew!

    Thread Starter mpow

    (@mpow)

    thanks for the help!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘transparent space between posts?’ is closed to new replies.