Forums

Have the page height break by pixels and not by entries! (2 posts)

  1. Ponkass
    Member
    Posted 2 years ago #

    I'm pretty new to WordPress and CSS, but here is what I want to do:

    I'm going to implement my blog-entries into an iFrame on another html site that I have. However I don't want any scrollers to be visible at any time, which means I need to have my blog entries page break after they reach a certain height in pixels. And I want this to only occur in between posts, not in the middle of them.

    In other words I want WordPress to operate for ex. something like: "Ok, this third entry is going to make the page over 500px, so I have to move the bottom entry at this page to "Older "Entries".

    Is this doable?

    Thanks!

  2. stvwlf
    Member
    Posted 2 years ago #

    No, that can't be done, WordPress has no way to know when it has displayed 500 pixels since the pages are assembled on the server, in the backend. Display issues are front-end, handled by the browser which formats the contents delivered by the back end.

    You don't need an iframe to incorporate your blog content into another website. See this article. It may give you more flexibility in formatting on your other site.
    http://www.corvidworks.com/articles/wordpress-content-on-other-pages

Topic Closed

This topic has been closed to new replies.

About this Topic