WordPress.org

Ready to get started?Download WordPress

Forums

Paragraph spacing - linebreaks (7 posts)

  1. icequeen_11
    Member
    Posted 1 year ago #

    Hi, I have a problem with a theme I created, and I hope you guys can give me ideas on how to fix it. The theme I made has the paragraphs too close together and it doesn't look nice, look:
    http://angrybirdsaddiction.com/analysis/how-to-play-angry-birds-rio/

    And i think it has to do with the theme/css because when I activate another theme, it looks nice like this:
    http://i.imgbox.com/aazOYxzw.png

    What could it be?
    Thanks!

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You removed ALL the margins and padding in your styles.css file (line 12) -- so the default p spacing is gone.

    Also, you have some duplicate divs/ID's on the page -- which is not allowed in HTML -- try Validating the pages.

  3. icequeen_11
    Member
    Posted 1 year ago #

    How do i do that? Please help me, how do i validate it?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

  5. icequeen_11
    Member
    Posted 1 year ago #

    But the pages are not the problem because with the other theme it worked well.

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Sorry, but the errors on this theme ARE in this theme.

    The paragraph problem I answered above -- to repeat it, this CSS code removed all the margins and padding from paragraph tags -- hence no spacing.

    * {
    padding: 0px;
    margin: 0px;
    }
  7. icequeen_11
    Member
    Posted 1 year ago #

    Just by deleting those two settings it got fixed!!! Thank you soooo much, really =)

Topic Closed

This topic has been closed to new replies.

About this Topic