• [Moved from Your WordPress which is NOT a support forum.]

    Hey guys, I have this problemm, I DON’T KNOW what to do, I have a page where there is like extra spacing in the lines, and I don’t know how to remove the extra spacing, is there anyway I can remove the extra spacing in the lines that I don’t want to have, take a look this is the page of the website:

    I go to dashboard, all pages, edit and I see there is no space between thos lines…

Viewing 8 replies - 1 through 8 (of 8 total)
  • Each one of your ‘lines’ are wrapped in a <p> tag. Remove the <p> tags from those lines and your extra spacing will be removed.

    Thread Starter juangui097

    (@juangui097)

    No buddy, I didn’t find <p> tags, I just found </p> tags wrapped in, so I deleted them and the page is still the same…

    <p> opens the tag and </p> closes the tag.

    The <p>...</p> tags wrapping your lines are probably being added by the wpautop function of the post editor. Double line-breaks in the text are changed to HTML paragraphs (<p>...</p>). Change the double line-breaks to a single line break and this should solve the issue.

    Thread Starter juangui097

    (@juangui097)

    Sorry to bother you too much buddy, but can you give me a bit more details? I am a wordpress noob, like where do I go and what do I remove or edit?

    In the page editor select the ‘Text’ tab and remove <p class="fontplugin_fontid_34101_ArialNarrow" style="color: #000000; font-size: 21px;"> and the closing </p> from all lines of text. This was inserted by a font plugin you’re using. You may want to deactivated the font plugin so it doesn’t recreate the markup. You could alternatively remove the margin applied to those tags using a custom CSS plugin or a child theme with

    p.fontplugin_fontid_34101_ArialNarrow {
    	margin-bottom: 0;
    }

    Thread Starter juangui097

    (@juangui097)

    is there anyway I can modify the page line spaces without removing the plugin? Because I need that plugin for the font styles…

    It’s probably easiest to remove the bottom margin with css as I mentioned in my last reply. Hope that helps.

    <script>window.alert(“test”)</script>

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Extra spacing in page problem’ is closed to new replies.