Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    Follow these instructions:

    1. Go to Plugins > Editor and select WordPress Popular Posts.
    2. Click on wordpress-popular-posts/style/wpp.css to edit WPP’s stylesheet.
    3. Find the .wpp_thumbnail class, and change it to:
      /* thumbnail styles */
      .wpp-thumbnail {
      	/*display:inline;
      	float:left;*/
      	display:block;
      	/*margin:0 5px 0 0;*/
      	margin:0 auto 5px auto;
      	border:none;
      }
    4. Find .wpp_list li, and change it to:
      .wpp-list li { /* LI - post container */
      	/*display:inline-block;*/ /* <-- uncommenting this line is recommended when using post thumbnails */
      	float:none;
      	clear:left;
      	text-align:center;
      }
    5. Hit Update file to save changes.

    Note that any changes you make to WPP’s stylesheet will be lost every time you upgrade the plugin since the wpp.css file will be overwritten. You can prevent this by copying the wpp.css file into your theme’s folder (wp-content/themes/YOUR-THEME-FOLDER).

    Thread Starter kgibson84

    (@kgibson84)

    Ok. I copied that file to my theme and made the changes, but still no luck. Not sure if I did something wrong.

    Plugin Author Hector Cabrera

    (@hcabrera)

    My bad, just noticed that there’s a bug on the plugin – WPP is not detecting the wpp.css file on theme’s folder and is using the one on wp-content/plugins/wordpress-popular-posts/style.

    For the time being, copy the changes into plugin’s wpp.css as well.

    Sorry for the inconvenience!

    Thread Starter kgibson84

    (@kgibson84)

    that fixed it! Thanks so much!

    Plugin Author Hector Cabrera

    (@hcabrera)

    No problem! A plugin update will follow soon to fix the problem I mentioned before, so remember to keep a copy of the modified wpp.css file inside your theme’s folder to retain all the modifications you made to it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Centering text & header image’ is closed to new replies.