WordPress.org

Ready to get started?Download WordPress

Forums

h2, h3 not aligning the same as paragraph & images (5 posts)

  1. drawingaway
    Member
    Posted 3 years ago #

    Hi there. Can you guys help me out and tell me why the "paragraph" css is not aligning the same as the images and the h2 and h3 tags? The paragraph has the nice margin on the right but the images and, h2 and h3 tags align ALL the way to the edge. I cant seem to find it in the style.css. Thanks, I can upload the css if needed

    http://drawingaway.com/?page_id=248

  2. drawingaway
    Member
    Posted 2 years ago #

    bump. sorry. Does anyone every reply on this forum or am i missing something?

  3. sylvain.d
    Member
    Posted 2 years ago #

    Change the line 140 in your style.css file from

    h1, h2, h3, h4, h5, h6 {
    color: dimGray;
    margin: 0 0 15px 0;
    font-weight: normal;

    to

    h1, h2, h3, h4, h5, h6 {
    color: dimGray;
    margin: 0 42px 15px 0;
    font-weight: normal;
  4. drawingaway
    Member
    Posted 2 years ago #

    Thanks so much Sylvain. I will try that...shouldn't the left and right margins just be the same? Why is one 42 and one is 15?

  5. sylvain.d
    Member
    Posted 2 years ago #

    The 15px is the bottom margin. In shortcode the first number is the top one and after that it goes clockwise.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags