T
T
tipidl2018-03-28 22:37:35
1C-Bitrix
tipidl, 2018-03-28 22:37:35

How to display infoblock elements under different divs in the bitrix:news:list template?

first I will show how the layout looks like
5abbeeb10f9e4238398458.png
this is a div for the components in the right line
5abbeec397d18672552276.png
this is a div for the component in the left line
5abbeeddc0195803504912.png
on the site I have the same div passed to all the components of the infoblock
here is the template.php file code
5abbeef9e2998841024133.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2018-03-28
@gangstarcj

col-md 6 and div id=<?=$this->Get...?> should be spliced ​​together to be
<div class="col-md-6" id=<?=$this->Get..."?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question