WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Fixing content margins? (6 posts)

  1. themonster
    Member
    Posted 1 year ago #

    I currently have this code in my custom CSS

    .content p {
    width: 414px;
    margin: 0 auto
    }

    However, it overrides the ability to have visibly separate paragraphs. What do I need to add to keep paragraphs without changing the width or position of the text in each post?

    http://www.thebaroquenessmonster.com

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Can you link to a post with this issue?

  3. themonster
    Member
    Posted 1 year ago #

    Here's a link

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    With margin: 0 auto; you're defining the margin-top, margin-right:, margin-bottom: and margin-left: values in that order.
    http://www.w3schools.com/css/css_margin.asp

    So you're defining the margin top and bottom between paragraphs as 0.

    Try

    margin: 10px auto;
  5. themonster
    Member
    Posted 1 year ago #

    Thank you so much for helping me figure that out! I really appreciate it!

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    You're welcome and remember if the issue has resolved, mark the thread as resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.