Answer the question
In order to leave comments, you need to log in
How to fix lists on Bitrix sites 24?
I did not know what tag to use, I think people from the tags I used will understand what I mean.
In general, I create lists for site 24 in the .description.php file
<?php
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
die();
}
use \Bitrix\Main\Localization\Loc;
return array(
'block' => array(
'name' => "Обложка лендинга-2",
'section' => 'other',
),
'nodes' => array(
'.small' => array(
'name' => "Заголовок",
'type' => 'text',
),
'.ribbon img' => array(
'name' => "Лого 1-колонки",
'type' => 'img',
),
'.one-colums' => array(
'name' => "Название 1-колонки",
'type' => 'text',
),
'.two-colums' => array(
'name' => "Название 2-колонки",
'type' => 'text',
),
'.list_colums' => array(
'name' => "Строка",
'type' => 'text',
),
'.list_colums_two' => array(
'name' => "Название строчки",
'type' => 'text',
),
'#landing-main' => array(
'name' => "Фон",
'type' => 'img',
),
),
'cards' => array(
'.list_colums' => array(
'name' => "Изменить",
'label' => array('.list_colums'),
),
'.list_colums_two' => array(
'name' => "Список",
'label' => array('.list_colums_two'),
),
),
);
<div id="landing-main" style="background: url(http://s24.bxdemo.ru/l1/img/bg-landing-main.png) 50% 0 no-repeat, #f9f9f9 url(http://s24.bxdemo.ru/l1/img/pattern.jpg) 50% 0;">
<section id="comparison">
<div class="container">
<h2 class="small">В чем преимущество обращения к выставке домов, а не искать компанию самостоятельно?</h2>
<table class="good">
<thead>
<tr>
<th class="one-colums">
<div class="ribbon"><img src="http://s24.bxdemo.ru/l1/img/logo3.png" alt=""></div>
Найти компанию на выставке
<div class="thumb"><svg xmlns="http://www.w3.org/2000/svg" class="icon"><use xlink:href="http://s24.bxdemo.ru/l1/img/icons.svg#thumb"></use></svg></div>
</th>
</tr>
</thead>
<tbody>
<tr class="list_colums">
<td><svg xmlns="http://www.w3.org/2000/svg" class="icon"><use xlink:href="http://s24.bxdemo.ru/l1/img/icons.svg#check4"></use></svg>Получение сразу несколько расчетов от разных компаний</td>
</tr>
</tbody>
</table>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question