• Resolved catmin

    (@catmin)


    Hi!
    Just installed the widget. It seems to work fine. I only would love to have some space between the thumbnails. Is that possible? In another widget I just need to enter a number where it says “Item spacing”.
    I am sure there is a way, but my guess is that it’s also very complicated.
    Have a look at my side and you’ll see what I mean:
    Top Posts: no space
    Instagram: space
    Thanks a lot!
    Cat

    https://wordpress.org/plugins/wordpress-popular-posts/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter catmin

    (@catmin)

    The link to my site, which I forgot: http://catwithhats.com

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi Cat!

    Try this:

    1. Go to Plugins > Editor and pick WordPress Popular Posts from the dropdown.
    2. Under Plugin files, click on wordpress-popular-posts/style/wpp.css to edit WPP’s stylesheet.
    3. Find:
      /* LI - Post container styles */
      .wpp-list li {
          overflow: hidden;
          float: none;
          clear: both;
      }

      and change it to:

      /* LI - Post container styles */
      .wpp-list li {
          margin-bottom: 10px;
          overflow: hidden;
          float: none;
          clear: both;
      }
    4. Hit the Update file button to save changes.

    Make sure to copy the modified wpp.css file (located at wp-content/plugins/wordpress-popular-posts/style/) into your theme’s folder so that this change is preserved between plugin updates.

    Thread Starter catmin

    (@catmin)

    Hector,

    I tried and it worked! 🙂 Thank you so much. Great. I should finally paypal you some money and I will.
    Cat

    Thread Starter catmin

    (@catmin)

    PS: Now I am just wondering why the top posts don’t match the hits that are displayed on my „posts“ list. The ranking also doesn’t seem to change. Hmm … Will that change by time?

    Plugin Author Hector Cabrera

    (@hcabrera)

    I tried and it worked! 🙂 Thank you so much. Great. I should finally paypal you some money and I will.

    Don’t mention it, and many thanks in advance 🙂

    PS: Now I am just wondering why the top posts don’t match the hits that are displayed on my „posts“ list. The ranking also doesn’t seem to change. Hmm … Will that change by time?

    Could you please share a screenshot of that so I can see what you mean with this?

    Thread Starter catmin

    (@catmin)

    Sure. Here is what it looks like on my site:
    http://catwithhats.com/wp-content/uploads/2016/02/Bildschirmfoto-2016-02-29-um-17.56.13.png

    However, those are not my top posts. The numbers don’t match the counts in the backend:
    http://catwithhats.com/wp-content/uploads/2016/02/Bildschirmfoto-2016-02-29-um-17.56.54.png

    Thanks!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Ah, the Hits column must belong to another plugin (or maybe it’s even a theme feature), so that’s probably the reason why the numbers don’t match. WPP uses its own data to display the popular list.

    Thread Starter catmin

    (@catmin)

    And it shouldn’t be the same amount of hits?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Nope, since that’s not coming from WPP but from another plugin or from your theme.

    Thread Starter catmin

    (@catmin)

    Okay. Thank you!

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

The topic ‘Space between thumbnails’ is closed to new replies.