Smart list that skips the first item and starts count from the second

Posted in: Newspaper
Post count: 11

Hello,

I have a post with Smart list 7. I need to add some intro before the smart list starts, but if I do that, then the first smart item is visible under the intro paragraph (screenshot 1). I don’t want that. I want the intro to be visible on the first page and on click on Next button, on the second page to see the first smart item. In order smart list to start from the second page, I have added a fake first smart item, but then the first smart item that I need becomes second (screenshot 2). Is there a way to add some intro text before smart list and smart list to start from the second page (screenshot 3) or can I control where counting of the smart list starts (in my case from second smart item to start counting 1, 2, 3,…)?

Post count: 11

Another option to consider is if we have one paragraph before smart list, that is visible only on the first page, before smart item 1 and is not visible on the rest of the pages?

Post count: 11

I solved the second option, with paragraph only on the first page of smart list with this CSS code

body[class*="paged"][class*="single"] .category-reviews .td-post-content > p {
	display: none;
}

.category-reviews is a class based on category where I use this rule.

Post count: 20688

Hi,

That code may work, starting from the second page the paragraph should be hidden.

By default all the post content will be shown in full. Using some CSS would be the easiest solution in this matter. Let me know if you have more questions.

Thanks

Post count: 3

Hi,
having the same issue. I want the first page to be a description of the smart list with a button “start slideshow” then it goes to the first element..

The code from OP helped me but it still shoes the first element on the first page, I’d really like to have only the description and then start with slide 1 on the next page.

Any way to do this?

I mean like this:

EXAMPLE

Thanks,

  • This reply was modified 7 years by ebaskin.
Post count: 3

I have made a very hacky approach inspired by OP, I am hiding the numbering of the list elements and make the description the first element, but I hide the headline of only the first element.. if that makes sense.

.td-sml-current-item-nr{
display: none !important;
}

body:not([class*=”paged”]) .td-sml-current-item-title {
display: none !important;
}

that way the first list element becomes the description and because I have hidden the default numbering of the items I can number them myself and display what is actually the second element as the first page of the slideshow.. man I’m drunk I hope anything I write makes sense lol.

it does get the job done but very hacky.. I’m going to keep an eye on this thread in hope for a better solution.

Thanks,

  • This reply was modified 7 years by ebaskin.
  • This reply was modified 7 years by ebaskin.
Post count: 20688

Hi,


@ebaskin
The smart lists although complex there are in a way also simple. They will create sections (slides) using the headings you choose, and these will be displayed accordingly.

Currently there would be no options to hide sections of the post content or the smart list, based on current page or page number. Creating and using a CSS code for this would be the easiest method. If you found something that works as you need it, you could keep using it.
Maybe there will be more advanced settings added for the smart lists in the future, I can’t say for sure unfortunately. Sorry for the inconvenience. If you have more questions let me know.

Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.