Support » Theme: MH RetroMag » No breaks between paragraphs

  • This company creates a variety of eye-catching themes. The problem is that there are no line breaks between paragraphs on more than one of their themes. Instead of paragraphs looking like this:

    ———————————————-

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s. When an unknown printer took a galley of type and scrambled it to make a type specimen book.

    It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages.

    ———————————————————

    They look like this:

    —————————————————–

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s. When an unknown printer took a galley of type and scrambled it to make a type specimen book.
    It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages.

    ——————————————

    I’ve tried different CSS hacks. None work. The only way to have the paragraphs render properly is to hit “Enter” twice between paragraphs using the visual editor or to use

    `<p></p><p></p>

    using text mode.

    πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™

    • This topic was modified 3 years, 3 months ago by Gestroud.
Viewing 1 replies (of 1 total)
  • Hi Gestroud,

    thanks for your feedback, but would it be possible to reconsider your rating? The thing is, it seems there is a misunderstanding.

    Please understand that the editor is handled by WordPress itself, not by your WordPress theme. It’s absolutely normal that spaces between paragraphs will occor once there are <p>-tags.

    And there will only be <p>-tags if you hit Enter in Visual mode or add this via HTML in Text mode (usually you can hit Enter twice in Text mode as well). None of this is handled by the theme, it’s WordPress.

    The only thing we can do is to ensure that there is proper space as soon as content is wrapped within <p>-tags and this is exactly what has been done in the CSS:

    .entry-content p { margin-bottom: 20px; }

    <p>-tags are added by WordPress based on your actions in the editor through the built-in content filters. Again, none of this is handled by the theme, it’s WordPress core.

Viewing 1 replies (of 1 total)
  • The topic ‘No breaks between paragraphs’ is closed to new replies.