Forums

[resolved] Page of Posts problem (9 posts)

  1. zombience
    Member
    Posted 4 months ago #

    Hi,
    first off, I know some basics of wordpress and also php, but nothing heavy.

    I've just started diving into a new site and am having trouble fixing a page.
    We have 1 page that appears to be a custom page template that is displaying a preview image and our post. That's good.
    The main problem (that has caused all kinds of secondary problems) I want to solve is that these posts have images of all different sizes. I don't want the images to be resized vertically (they are horizontally scaled) or cropped, but I want the posts to be displayed on the page so that their titles are all on the same line. As they display now, they are just placed a fixed distance underneath the post above. Since the images are of various sizes, the horizontal rows are not aligned.

    That's the actual problem I'd like to fix.
    In an effort to do that, I duplicated the custom page template and renamed , and created a new page with the identical template it in order to tweak settings. This new page doesn't display any of the posts at all. I thought that copying the .php directly with no changes would basically output the same info when used as a template on a page, but it isn't, so I can't even play with the code to see how I can fix this.
    What direction should I be looking in?

  2. alchymyth
    The Sweeper
    Posted 4 months ago #

    for instance, look into css min-height

    a link to your site might help to illustrate the problem.

    I duplicated the custom page template

    what is the code of the template ? please paste the full code into the http://pastebin.com/ and post the link to it here.

  3. zombience
    Member
    Posted 4 months ago #

    Thanks for the quick response!
    I grabbed the code and pasted it here:

    http://pastebin.com/Dzc8aTRn

    The specific page I am trying to fix is here:
    m1interactive.net/work

    I've looked into the css, and I only see 3 div tags that might be relevant, and putting height info into them doesn't seem to be changing anything. It makes me think I'm looking in the wrong place.

    Thanks again for the help

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  5. zombience
    Member
    Posted 4 months ago #

    I've been checking "inspect element" in google chrome. I'll see if I can dig out any extra info in firebug, but as far as I can tell there are only a few places to make changes. There is something happening in the very large ocean of things that I don't know about WordPress that is preventing me from changing anything. :/

  6. alchymyth
    The Sweeper
    Posted 4 months ago #

    in page templates, you would normally need to add a query before the loop to tell the template what posts to show.

    http://codex.wordpress.org/Function_Reference/query_posts

    if you like, you can post a link to your site, pointing to the trouble page.

  7. zombience
    Member
    Posted 4 months ago #

    Thanks alchymyth. The page I'm having trouble with is:
    m1interactive.net/work

    In the WP backed, the page "work" is entirely blank. So I looked at the template to get more info, as I assumed that is the part that would be collecting and displaying the quotes. But perhaps that isn't the case?

    Also, I am confused, and I assume I must be looking at the wrong css files. I have gone into the theme folder and gone so far as to rename the css files, and yet everything on the site displays properly. clearly there's another source for the css that I don't know about and I can't track down.

    This problem is turning out to be trickier than I thought it would be. So, at a skill level that is only a little beyond beginner, in your opinion would I be better off continuing to try to understand this site, or just starting over from scratch?

  8. alchymyth
    The Sweeper
    Posted 4 months ago #

    as the posts are stacked into columns without any horizontal connection - there seems to be no css way to achieve this:
    'I want the posts to be displayed on the page so that their titles are all on the same line.'

    min-height would not work because some images are much larger than the rest.

    possibly the easiest to start from scratch

  9. zombience
    Member
    Posted 4 months ago #

    ok, I feared as much. Thank you for your help

Reply

You must log in to post.

About this Topic