Z
Z
zebralaska2017-10-28 15:57:16
css
zebralaska, 2017-10-28 15:57:16

How to change the line spacing in a list?

Good day, shapers!
Does anyone know the answer to the question how to change line spacing in a list?
Screenshot attached
Website on Joomla 1.5
autob-u-msk.ru
59f47eaa30668679675836.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
Camaro67, 2017-10-28
@zebralaska

The line-height property is responsible for the line spacing.
But I suspect that you want to change the spacing between the list items themselves. As an option, you can do this: Set the desired selector yourself.

E
Exploding, 2017-10-28
@Exploding

autob-u-msk.ru/templates/auto2_1_fianl/css/template.css line 1591.
Learn DevTools.
change the line-height here:

.art-post li {
  padding: 0 0 0 13px;
  line-height: 1em;
}

D
dom1n1k, 2017-10-28
@dom1n1k

Line spacing - same as everywhere else, line-height.
But I suspect we are talking about indentation between paragraphs, then:

li + li {
    margin-top: 10px;
}

Please note that this is just a demonstration of the principle - in real life you should use classes, not tags.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question