• Resolved neilshealthymeals

    (@neilshealthymeals)


    Dear Hector,

    Firstly may I just say this is an awesome plugin! I’ve used it for a while on my blog https://neilshealthymeals.com and I love it.

    May I ask you a couple of questions please?

    1) I recently changed some CSS in my WordPress Child Theme Stylesheet so that the WordPress Popular Posts plugin images aligned a little better when viewed. So it looks as it does now. I don’t think I will need to copy the wpp.css file into my themes directory, because it is the Child Theme Stylesheet I have made changes on? Just checking, and if I do need to copy the actual wordpress-popular-posts/style. How do I go about doing that?

    2) Can you explain to a novice (me) where the plugin is actually refered to in the CSS stylesheet, how does my Child Theme Stylesheet override the original CSS in your Plugin? Perhaps there is a tutorial or article about that somewhere? I’m trying to understand and to learn.

    Thank you very much for your help and support.

    Neil

    https://neilshealthymeals.com

    https://www.ads-software.com/plugins/wordpress-popular-posts/

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

    (@hcabrera)

    Hi Neil!

    1) I recently changed some CSS in my WordPress Child Theme Stylesheet so that the WordPress Popular Posts plugin images aligned a little better when viewed. So it looks as it does now. I don’t think I will need to copy the wpp.css file into my themes directory, because it is the Child Theme Stylesheet I have made changes on? Just checking, and if I do need to copy the actual wordpress-popular-posts/style. How do I go about doing that?

    Indeed. Since you added your custom CSS to your theme’s stylesheet, you may omit that message (and even disable wpp.css stylesheet via Settings > WordPress Popular Posts > Tools, which will make the message go away too).

    Can you explain to a novice (me) where the plugin is actually refered to in the CSS stylesheet, how does my Child Theme Stylesheet override the original CSS in your Plugin? Perhaps there is a tutorial or article about that somewhere? I’m trying to understand and to learn.

    Actually, the plugin itself is almost “bare” when it comes to CSS. WPP’s stylesheet (wp-content/plugins/wordpress-popular-posts/style/wpp.css) doesn’t include many CSS properties, only the necessary CSS classes definitions so people can style the plugin as they want (just like you did!)

    Since most of the classes are not styled, the CSS definitions from your theme’s stylesheet are the ones used by the web browser while rendering the page to style the listing.

    If you want to learn CSS, this is a good starting point (and a great exercise!): CSS Zen Garden.

    Thread Starter neilshealthymeals

    (@neilshealthymeals)

    Hi Héctor,

    Thank you very much for your reply and help with where to learn CSS.

    I really appreciate this and will go and check out that website now. ??

    Neil

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Copy the wpp.css file?’ is closed to new replies.