Forums

[resolved] Problem with breaks in posts (8 posts)

  1. bartvdploeg1
    Member
    Posted 1 year ago #

    All of my posts doesn't have the breaks between the sentences. Other themes that I downloaded are fine. When I put the 's manual it looks fine but I think that isn't the right way.. Does anyone know how to fix this issue?

    My website http://www.bartvdploeg.nl/

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Your theme may be using <?php the excerpt();?> instead of <?php the_content;?> in its template files. Simply edit the relevant template files and replace </php the excerpt();?> with <?php the_content;?>.

  3. bartvdploeg1
    Member
    Posted 1 year ago #

    I searched for it and could only find it at the archive page. But that resulted in nothing. Are there other options?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Perhaps your theme is using a custom function instead of the_content()? Drop a copy of one of the affected theme template files (index.php?) into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.

  5. bartvdploeg1
    Member
    Posted 1 year ago #

    The index file: http://wordpress.pastebin.com/w1SimSAe
    Single.php : http://wordpress.pastebin.com/JHuFUR5T

    Hope someone would find something.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Got it! It's not your theme's templates that are at fault. It's the stylesheet. Edit style.css and change:

    #side-left p {
    margin:0;
    padding:0;
    }

    to:

    #side-left p {
    margin:1em auto;
    padding:0;
    }
  7. bartvdploeg1
    Member
    Posted 1 year ago #

    Thanks man! That was the solution! Everything looks fine finally ;)

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Excellent! :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags