• Resolved Nezky

    (@nezky)


    Hello WordPress forum!

    I’m currently in the process of coding a blog at https://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:
    https://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 https://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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter Nezky

    (@nezky)

    Finally got it working, thanks so much ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with custom blog post design’ is closed to new replies.