• Can someone give me the correct code to remove a 2.15em bottom margin on paragraphs?

    Select a couple of paragraphs in this post then Inspect Element. It shows:

    media="all"
    p {
    margin: 0 0 2.15em;
    }

    I would like to at least remove it from .single-post pages but it would even be nicer to remove it throughout the whole site.

    Is there a reason for having huge spacing like that? Is it needed for mobile? I am seeing it on a lot of sites and in a lot of themes.

    Ps. The site in question is using X theme with the Ethos stack. No! Don’t send me to their help! A question gets ONE and ONLY ONE response PER 24+ hours. I love their theme but the support is a little maddening if you really have a problem.

    Pss. Can someone direct me to a place I can find code like .entry-p (which I tried to no avail!) I am not even sure what to call the things that go before the { Are they a class or what?

Viewing 1 replies (of 1 total)
  • Thread Starter IslandOwl

    (@islandowl)

    Woo-hoo! I figured it out. (Don’t ask how many tries or how much time I wasted on it.) I was overcomplicating it in trying to figure it out.

    Just this was needed:

    p { margin: 0 0 1em;
    }

Viewing 1 replies (of 1 total)

The topic ‘Code to remove bottom margin on paragraphs’ is closed to new replies.