Smart lists without numbering

Posted in: Newspaper
Post count: 11

Hi! I want to make a smart list without numbering. Is it possible?
Regard

Post count: 20685

Hi,

So a smart list without the numbers, it could be possible with CSS or code modifications. For which smart list template do you want to do this?

Thanks

Post count: 11

Smart List 1

Post count: 20685

It will require a small modification to the smart list template 1 file, remove this code here – http://prntscr.com/mf7emh
Result will be no number – http://prntscr.com/mf7f4x

The best way to do it is in a child theme. This way the modification will not be lost after a theme update – https://forum.tagdiv.com/the-child-theme-support-tutorial/

Post count: 11

Hi! Thanks for your information. The problem is: sometimes I need numbers as in rankings. Can’t you add another smartlist numbering without numbers? So that we can choose between ascending, descending and without numbers?

regards

Post count: 20685

Hi,

You could use a different smart list when numbers are needed. Use a modified one when they are not needed.
I will add a request for a smart list style with no numbering, but only if this is a popular request will it be considered. So I can’t make any promises unfortunately. Sorry for any inconvenience.

Post count: 11

thanks! I will use another smartlist!
greetings

Post count: 11

I tried it. I changed Smartlist 3 (cause I still need 1).
Line 1 now appears as header and overlaps the line below: http://prntscr.com/mgx2ce

I changed code like this:

//creating each slide
$buffy .= ‘<div class=”td-item” id=”‘ . $this->smart_list_tip_3_unique_id . ‘_item_’ . $current_item_id . ‘”>’;
$buffy .= ‘<div class=”td-number-and-title”><h2><span class=”td-sml-current-item-nr”>’ . $smart_list_3_title . ‘</span></h2></div>’;

regards

Post count: 20685

For smart list style 3 it’s possible to remove the numbering with a simple CSS code, with no modifications in the code – http://prntscr.com/mha2n9
This code will remove the number and align the list titles to the left

.td_smart_list_3 .td-sml-current-item-nr {
display: none;
}
.td_smart_list_3 .td-number-and-title {
padding-left: 0;
}

Post count: 11

Thanks a lot, that worked perfect!

Post count: 6

Is there an update on how to remove the numbers from Smartlist 1? I don’t have a Smartlist folder in the Includes file as mentioned previously (Feb 1 2019).

Many thanks!

Post count: 35449

Hi,

The smart list can be find now on this path -> wp-content/plugins/td-composer/legacy/Newspaper/includes/smart_lists if there is still a problem, please provide me a link to your website where I can check one smart list and I will provide a better answer.

Thank you!

Post count: 6

Many thanks! I was able to remove the numbers. Thanks again!

Post count: 200

@Simion C. wrote

I will add a request for a smart list style with no numbering, but only if this is a popular request will it be considered. So I can’t make any promises unfortunately. Sorry for any inconvenience.

I see that nothing happened? It would be really nice if there would be no numbers at all. Because whenever you need, you can add numbers or even letters by yourself exactly the way you want. You add heading and same time you can add there number or letter. So automatically added numbers are not needed at all in first place.

Viewing 14 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic.