• Resolved Cecilia Svensson

    (@ceciliasvensson)


    Hello!
    Thanks for a great plugin! I use it on several places on my site, for instance here: https://vaja.se/blogg/ (in the sidebar and footer).

    Before I upgraded the plugin from 3.2.2. to 3.2.3 there was a dot before each element in the list.
    When I upgraded to the latest version of the plugin, the dots disappeared.

    I have not made any changes in the wpp.css.

    When comparing the the two wpp.css-files, they look like this and none of them even have the list-type element in them. So how can this be, that they disappear when I upgrade? (I have restored a backup now, so I am back on WPP 3.2.2.)

    Wpp.css from my current version 3.2.2 of WPP:

    .wpp-list li { /* LI - post container */
    		/*display:inline-block;*/ /* <-- uncommenting this line is recommended when using post thumbnails */
    		float:none;
    		clear:left;
    	}

    From the newer version of wpp.css 3.2.3

    /* UL - Popular Posts container styles */
    .wpp-list {
    }
    	/* LI - Post container styles */
    	.wpp-list li {
    		overflow:hidden;
    		float:none;
    		clear:both;
    	}

    Can someone help me figure out what is happening here?

    /Cecilia

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

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

    (@hcabrera)

    Hi Cecilia!

    Indeed, WPP doesn’t include the list-type property in any of its versions.

    If I had to bet, the overflow:hidden; property is what’s hiding your list bullets. Just comment it out (or delete it) and you should be good to go ??

    P.S.: make sure you also move the modified wpp.css file (located at wp-content/plugins/wordpress-popular-posts/style/) into your theme’s directory to prevent future upgrades from overwriting it.

    Thread Starter Cecilia Svensson

    (@ceciliasvensson)

    Heureka!
    Thank you very much!

    I purposely added that line of text in my current version of WPP, in aim to reproduce the disappearing of the list bullets.

    And they did indeed disappear.

    Hence, the overflow:hidden is the reason why they disappeared.
    Now I can upgrade! Yay!

    Thanks for pointing out I need to add this in my css.

    I use the excellent plugin in Child Theme Configurator by Lilaea Media and I have now put this in there, and I toggled between visible and hidden, in my existing installation of WPP. And it works just fine.

    In case someone else needs it:

    .wpp-list li {
          overflow: visible;
    }

    I’m marking this topic as SOLVED!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Don’t mention it ??

    Enjoy the plugin!

    Thread Starter Cecilia Svensson

    (@ceciliasvensson)

    Hmm. I guess I was a bit too quick.

    So, I upgraded.
    The bullet list is gone.
    And the css looks like this (which I tested with success earlier)

    .wpp-list li {
        overflow: visible;
        float: none;
        clear: both;
    }

    The only thing that is different is that the test with success was in the version 3.2.2
    and now I’ve upgraded to 3.2.3.

    Any more ideas Hector?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Must be something else. Don’t downgrade, let me check for you.

    Edit: it’s this. WPP’s stylesheet is taking precedence over the rules you’ve added to your theme’s stylesheet ?? So, you either:

    • Add !important after your rules (eg.: overflow: visible!important;) so no other stylesheets override your rules.
    • Disable WPP’s stylesheet to keep it from overriding your rules (Settings > WordPress Popular Posts > Tools).
    Thread Starter Cecilia Svensson

    (@ceciliasvensson)

    Excellent!

    I added !important in my css and now it works.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Lists change when upgrading WPP to 3.2.3’ is closed to new replies.