Powered by Blogger.

How To Fix Popular Post Widget Error In Blogger



How to fix the popular post widget error in blogger - You already know guys, The popular post widget is one of the best widgets on blogger because its help us to show the most popular post on our blogs. But the important thing is, In this time some blogger widgets are not working properly. And recently the popular post widget is experiencing some errors. Yes, some bloggers are facing some issue. Like - there is an error in the display selection menu entry that doesn't show data what we choose. For example, the maximum post in this widget I set 5 entries. (See the below image)


But when I preview my blog, then it's showing me 7 posts. And if the selected option is the last 30 days, then it's showing me 10 entries. So today I am going to share my trick with you. And the trick is, How you can easily fix your popular post widget error with the help of some CSS codes.

First you will need to go to your "Blogger Dashboard", Now go to the "Template" section and then click on the "Edit Template" option.

Now you will need to find the below code (Find below code using Ctrl + F key).
]]></b:skin>
After that copy and paste the below code just before ]]></b:skin> if you want to bring only 3 entries.
.PopularPosts ul li:nth-child(n+<mark>4</mark>){display:none;}
OR- Add the below code if you want to bring only 5 entries.
.PopularPosts ul li:nth-child(n+<mark>6</mark>){display:none;}
Now click on the orange save template button to make changes.

That's it! I hope you like this Trick! Stay tuned for more blogger widgets, tips and trick! Thanks for reading!

0 comments:

Post a Comment