• Hi, I’m using the Daydream theme and I wonder if anyone can help me to set a spacing in between the paragraphs by editing the CCS style?

    I am currently using <p style=”padding-top:1.4em;”>TEXT HERE</p> but this is very tedious if I need to add this line in every paragraphs.

    Please advise. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I believe you need to edit style.css in your theme directory and put something like this:

    #content p {
       padding-top: 1.4em;
    }
    

    Applying a margin would be more appropriate, as that is essentially what you’re asking for, a margin.

    Assuming it’s the website in your profile, try adding the following to your theme’s style.css file.

    .postenty p {
    	margin-bottom: 1.4em;
    }

    At the bottom of the stylesheet would be most ideal.

    Thread Starter isavourcom

    (@isavourcom)

    i tried inserting the below at the bottom of my style.css but it is still not working. Any other advices?

    .postenty p {
    margin-bottom: 1.4em;
    }

    Oops, sorry typo on my part, that should read.

    .postentry p {
    	margin-bottom: 1.4em;
    }

    .. I missed out the r in entry..

    ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Paragraph – Space between paragraphs’ is closed to new replies.