WordPress.org

Ready to get started?Download WordPress

Forums

Adjusting spacing before/after paragraph (4 posts)

  1. swords
    Member
    Posted 3 years ago #

    Well, I think everyone has this issue, but the CSS stylesheet varies from theme to theme.

    Was hoping someone could point out where I need to add my 'margin-top' at in my theme.

    Or possibly a different alternative for a 'static solution'.

    I wish the WYSIWYG could display the text as typed. This editor I'm typing this in right now does it perfectly fine. It leaves a line spacing between where I hit enter. It's a shame WordPress tries to add it's own lines in between there and stuff.

    Thanks for any help :(.

    My site is: http://www.thebestheadphones.net/

  2. Emil Uzelac
    Theme Review Admin
    Posted 3 years ago #

    Add this to your stylesheet, or adjust to look like that.

    p {
        line-height: 1.5em;
        margin-bottom: 10px;
    }
  3. swords
    Member
    Posted 3 years ago #

    I tried doing that, but to no avail (before making this thread).

    Any other ideas? :/

  4. Emil Uzelac
    Theme Review Admin
    Posted 3 years ago #

    Take a look: http://i.imgur.com/esrrQ.png if there is no style for this, you can add it to your stylesheet.

    If you want to style your WYSIWYG:
    http://codex.wordpress.org/Function_Reference/add_editor_style you can have any style you want for your WYSIWYG.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.