HOME > Webdesign > Change Wordpress Line Spacing - Is It Possible At All?

Change WordPress line spacing - is it possible at all?

WordPress gives you many customization options, but some options are predefined by the theme and can only be changed in a roundabout way. This also concerns the line spacing.

Manual input: the line spacing in WordPress can be changed in the CSS.

The principle of WordPress is well known: By using a professionally created theme, you can focus directly on the content of your site.

WordPress: Line spacing can be changed via CSS

However, this means at the same time that you cannot easily change some theme options. One example is the line spacing, which usually can't be changed in the settings. After all - via CSS it is usually still possible:
  • Line spacing is defined in HTML as "line-height".
  • You must consequently find the appropriate place in the CSS sheet of your theme and can change it.
  • What is important here is the class of the various text elements. Thus, normal paragraphs in body text are defined as "p".
  • A specification for line spacing thus looks like this: "p {line-height: 1.5;}"
This example lends itself, since 1.5 times the line spacing is often considered the norm. Of course, you are free to use any other values. Although custom CSS editing may seem difficult to implement to many WordPress users at first, cases like line spacing show that some details are not complicated at all - so it's worth trying it yourself.

By Alodee

FIFA 17 licenses - what you need to know :: Key combination: printing on Mac - how to manage it
USEFUL LINKS