Title: Extra span being printed
Last modified: October 4, 2021

---

# Extra span being printed

 *  Resolved [jonnyrefined](https://wordpress.org/support/users/jonnyrefined/)
 * (@jonnyrefined)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/)
 * Hi there,
 * Love the plugin is easy to use. Just having this one problem that is causing 
   my list of links to not be aligned properly if they wrap onto a second line.
 * I’m using this in a category page to show the top links by category
 *     ```
       if (function_exists('wpp_get_mostpopular')) {
           wpp_get_mostpopular(array(
               'limit' => 6,
               'cat' => $catID,
               'stats_views' => 0
           ));
       }
       ```
   
 * Even though I’ve turned off the stats_views it’s still printing in the HTML:
   `
   <span class="wpp-meta post-stats"></span>`
 * Could you help with this at all? I’ve tried display none but the span is still
   causing the list spacing to shift slightly.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/#post-14935830)
 * Hi [@jonnyrefined](https://wordpress.org/support/users/jonnyrefined/),
 * Can you please share your site’s URL so I can see the `span`/shifting issue?
 *  Thread Starter [jonnyrefined](https://wordpress.org/support/users/jonnyrefined/)
 * (@jonnyrefined)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/#post-14936234)
 * Hi Hector,
 * thanks for the fast response, is there any way for me to privately share the 
   link to the site with you?
 * Thanks
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/#post-14936769)
 * Yes, you can use [my contact form](https://cabrerahector.com/about/#say-hi) to
   send me an email with your site’s URL.
 *  Thread Starter [jonnyrefined](https://wordpress.org/support/users/jonnyrefined/)
 * (@jonnyrefined)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/#post-14938304)
 * Hi Hector,
 * I’ve sent you a message through the contact form thanks for the help 🙂
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/#post-14939397)
 * Got it, thanks Jonny.
 * Alright, I checked your website and I’m not sure that the issue is being caused
   by the `span` tag. I removed it from the page using the console and the shifting
   was still there.
 * So instead I played around with the CSS rules and with these the spacing between
   the bullet and the post title is now consistent:
 *     ```
       .wpp-list li::before {
           display: none;
       }
   
       .wpp-list li {
           padding-left: 1em;
           margin-top: 0.5em;
           margin-left: 0.25em;
           transition: text-shadow 0.3s;
           cursor: pointer;
           background: url(/wp-content/themes/caj/assets/svg/svg-desktop/arrow.svg) left 0.35em no-repeat;
           background-size: 0.5em;
       }
       ```
   
 * Give that a shot and report back your results.
 *  Thread Starter [jonnyrefined](https://wordpress.org/support/users/jonnyrefined/)
 * (@jonnyrefined)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/#post-14939441)
 * Perfect that has fixed it. Thanks for the help!
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/#post-14939482)
 * Don’t mention it, glad I could help!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Extra span being printed’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [wpp_get_mostpopular](https://wordpress.org/support/topic-tag/wpp_get_mostpopular/)

 * 7 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/extra-span-being-printed/#post-14939482)
 * Status: resolved