• Resolved shaunbowen

    (@shaunbowen)


    It would be great to separate the ‘Results Number’ with a CSS class, so users can make it bold or hide it where required.

    The JS could be changed from this:

    html += '<li class="aws_result_item aws_result_cat">';
    html += '<a class="aws_result_link" href="' + result.link + '" >';
    html += '<span class="aws_result_content">';
    html += '<span class="aws_result_title">';
    html += result.name + ' (' + result.count + ')';
    html += '</span>';
    html += '</span>';
    html += '</a>';
    html += '</li>';

    To this….

    html += '<li class="aws_result_item aws_result_cat">';
    html += '<a class="aws_result_link" href="' + result.link + '" >';
    html += '<span class="aws_result_content">';
    html += '<span class="aws_result_title">';
    html += result.name;
    html += '<span class="aws_result_count">';
    html += ' (' + result.count + ')';
    html += '</span>';
    html += '</span>';
    html += '</span>';
    html += '</a>';
    html += '</li>';

    Is this a possibility?

    • This topic was modified 7 years, 1 month ago by shaunbowen.
Viewing 1 replies (of 1 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Thanks for your suggestion.
    It is a good idea and I will implement it in the next plugin release.

Viewing 1 replies (of 1 total)
  • The topic ‘Styling for Results Number ($results_num)’ is closed to new replies.