WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
First thumbnail bigger than other (7 posts)

  1. bstojkoski
    Member
    Posted 1 year ago #

    How can I make the first od the thumbnails bigger than the others?

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    You could try using CSS to change the size of the thumbnail. Something like:

    img.wpp-thumbnail {
      width: "XXpx";
      border: none;
    }

    ... where XXpx is the size in pixels you want to use.

  3. bstojkoski
    Member
    Posted 1 year ago #

    Yes, but I want only the first one to be Big, and the other smaller.

  4. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Alright, then try:

    img.wpp-thumbnail:first-child {
      width: "XXpx";
      border: none;
    }
  5. bstojkoski
    Member
    Posted 1 year ago #

    I need to add this in wpp.css ?

  6. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, or in your theme's stylesheet. Either way should be fine.

  7. bstojkoski
    Member
    Posted 1 year ago #

    I doesn't work. It change all the thumbnails.:(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags