Support » Theme: Personal Portfolio » Spacing between paragraphs

  • Resolved kcchopsticks

    (@kcchopsticks)


    Hi!

    I absolutely love this theme and haven’t had any major problems. The one problem that is minor but I would still liked fixed is, when I write an intro on a page and put spaces between my paragraphs the spaces don’t show up on the final website. It shows that they are spaced out when I am in editing mode but not on the actual website. I have looked online at some coding examples and tried some of them out and they haven’t seemed to work.

    Any Suggestions on how to fix the spacing issue?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I do not have an answer for this yet, I can tell you though that trying to hack together any kind of HTML does not work either, so I believe something in their PHP is causing the issue. I will go through all of their code and see if I can find the issue, I will post a work around when I find it. They have a lot of code for this theme though. Fingers Crossed

    Thanks
    A

    I have some updates now, I have verified that Posts and all other pages minus the static front page has this issue.

    Is the problem you are having on a static intro page? this will help me find where the problem is.

    I have some updates now, I have verified that Posts and all other pages minus the static front page has this issue.

    *Does not have this issue sorry

    Ok, the solution is very simple:

    From your WP side panel Click Appearance->Editor

    Scroll down and find the page the says Main Index Page (index.php)

    in the while loop you will see these two lines:

    if ( get_theme_mod ( ‘blog_view’, ‘1’ ) )
    { get_template_part( ‘content’, ‘blog’)
    } else { get_template_part( ‘content’, get_post_format() );}
    Comment those two out, like this

    /*if ( get_theme_mod ( ‘blog_view’, ‘1’ ) )
    { get_template_part( ‘content’, ‘blog’)
    } else { get_template_part( ‘content’, get_post_format() );}*/

    Then add this line, it will format that page as a “page” instead of a “generic blog post”.
    get_template_part( ‘content’, ‘page’ );

    If this worked for you can you mark this as solved as well, it really helps the community.

    Hope this helps,
    Best Regards

    Andrew

    Theme Author Mark Brown

    (@dinozoom)

    Hi,
    You can’t add empty paragraphs with only WordPress.

    Add this html code to between paragraphs

    <p>&nbsp;</p>

    More info:
    https://wordpress.org/support/topic/how-to-insert-white-space-between-paragraphs-in-post

    For example..

    <p>Nunc luctus dapibus lectus, ac porttitor nunc mattis sit amet. Suspendisse potenti. Etiam suscipit leo rutrum, varius metus quis, molestie dui. Nulla accumsan tellus ante, ac pellentesque leo iaculis in. Quisque malesuada sit amet ex eu placerat. Donec blandit dignissim pretium. Quisque vulputate nulla id nisi aliquet, eu vestibulum quam lacinia. Ut suscipit id nulla eu gravida. Fusce suscipit ex enim, a congue nibh laoreet quis. Proin nisl augue, tincidunt id viverra blandit, venenatis vel mi.</p>
    
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    
    <p>Nullam tristique, urna ut fringilla lobortis, dolor diam lobortis turpis, a ornare risus est laoreet tellus. Duis scelerisque enim id dui scelerisque, id pellentesque libero efficitur. Quisque ante velit, efficitur vel auctor eget, dignissim fermentum elit. Cras finibus, orci ac volutpat cursus, augue nibh accumsan velit, nec porta mauris odio in felis. Duis eros lorem, finibus in accumsan in, vehicula in nunc. Pellentesque nec augue a turpis maximus bibendum. Sed tempor lectus quis posuere rhoncus. </p>
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Spacing between paragraphs’ is closed to new replies.