Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1060206

    I need to tighten up the space between the h3 and the body text on the landing page only.

    I have tried
    #top .all_colors p {
    line-height: 1.5em;
    margin: 1em 0;
    }

    Dropped the margin to .1em 0;
    works fine in google’s inspector, but enteing it as a .css rule it has no effect.

    I tried isolating it from the rest of the site by using

    /* try to remove margins on p on one page */
    #top .page-id-4022 .all_colors p {
    margin-top: .1em;
    margin-right: 0px;
    margin-bottom: .1em;
    margin-left: 0px;
    }

    No love

    #1060833

    Hey BRempfer,

    To reduce the space between two elements please use the whitespace element. For more info please check the Whitespace documentation.

    Best regards,
    Vinay

    #1063295

    Thanks much. Didn’t remember seeing that the whitespace element could also be used to collapse space as well as increase it.

    • This reply was modified 5 years, 9 months ago by BRempfer.
    #1063365

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Space between h3 and body’ is closed to new replies.