Forums

[resolved] Help with custom blog post design (3 posts)

  1. Nezky
    Member
    Posted 1 year ago #

    Hello WordPress forum!

    I'm currently in the process of coding a blog at http://www.projectlightstyle.com/

    I have a custom designed blog post that I have some problems with styling.. So I hope someone here can help me..

    First of all, here's a picture of how the design looks:
    http://piclair.com/ux9xa

    As you can see here.. I want to be able to have a big picture for every blog post, and then a small description of the post below the picture..

    The problem I have, if you go to http://www.projectlightstyle.com/
    First of all.. The text from my blog posts are hiding under the picture for some reason..

    I want 2-3 lines of text to be shown underneath the picture, and then when you enter the post you get to see all of the text..

    How can I do this?

    Here's my code for posting:
    Index.php
    style.css

    Please tell me if I am not clear enough in my description of the problem!

  2. Chip Bennett
    Member
    Posted 1 year ago #

    Are you assigning a "Featured Image" (i.e. Post Thumbnail) to each post?

    If so, you can accomplish what you want by outputting a combination of the_post_thumbnail() and the_excerpt() on the index page, and then outputting the_content() on the single blog post page.

  3. Nezky
    Member
    Posted 1 year ago #

    Finally got it working, thanks so much :)

Topic Closed

This topic has been closed to new replies.

About this Topic