C
C
cosonicsq2021-06-09 16:27:16
Drupal
cosonicsq, 2021-06-09 16:27:16

What do these settings in views do? And in what situation may be needed?

Here are these in Format Settings:
60c0c18c183b5879946417.png
According to the description in the settings itself, I did not understand anything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2021-06-09
@cosonicsq

Row class adds a css class to each row of the output. For example, if you set the format to "List" and write Row class = "my-row-class", then the output will be:

<ul>
  <li class="my-row-class">строка 1</li>
  <li class="my-row-class">строка 2</li>
  <li class="my-row-class">строка ...</li>
</ul>

Add views row classes adds default css classes like views-row to rows:
<ul>
  <li class="views-row my-row-class">строка 1</li>
  <li class="views-row my-row-class">строка 2</li>
  <li class="views-row my-row-class">строка ...</li>
</ul>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question