Answer the question
In order to leave comments, you need to log in
Question about the full news dle 10.2
I have a complete news, many pictures are loaded into it (I make a photo album from the full news of a certain category), I need them to be displayed in reduced copies of 6 in a row, and then how many rows the photo will last, I need to make a tpl template for the full news, only this is how I can’t even imagine implementing this pattern, I want to attach it to this category.
Answer the question
In order to leave comments, you need to log in
For your category (in the settings) assign the desired template. in the template write something like this:
in css add the following code:
.myclass img {
display: block;
float: left;
width: 200px; /*подобрать по месту*/
margin: 0 10px 10px 0;
}
.myclass img + br {
display: none;
}
Well, regarding
the thumbnails, set in the
Settings for working with images
. When adding news, respectively, you can simply stupidly select, say, 6 pictures and click "Add", they should line up by default. And it will also be better to edit the news through the "source code". But why create a separate tpl file I don’t see the point.
Here I have 4 pictures close to each other
. If I understand correctly, then you need almost the same thing and when you click on the picture, site users could see it in full size ?.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question