Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing spacing between paragraphs and inside of paragraphs

I found a similar topic, to this, but I can't find the specific CSS to change in Wordpress. If you go to my homepage Or blog

I want to change the spacing within and between paragraphs. Not sure which element I need to modify in my CSS.

Found a line-height property for .body, but that doesn't seem to do what I want.

like image 504
Dan Avatar asked Dec 21 '16 01:12

Dan


People also ask

How do you fix a weird space between paragraphs?

Remove the Default Space Between Paragraphs:Set your cursor to the location of the paragraph spacing. Click on the Line and Paragraph Spacing icon in the Home Ribbon. Select "Remove Extra Space" to remove the extra space. This has to be done in each document unless you adjust your default settings.

What do you call spacing between paragraphs?

In the field of typography, which is the art of printed text, letter spacing is called "kerning".


Video Answer


1 Answers

Between paragraphs you should set a margin for that element. Between lines within the paragraph you can use line-height. For example:

p {
  line-height: 32px;   /* within paragraph */
  margin-bottom: 30px; /* between paragraphs */
  }

enter image description here

like image 174
David542 Avatar answered Sep 21 '22 15:09

David542