Startblog.tech
  • Start a Blog
  • Google AdSense
  • WordPress Themes
  • WordPress Plugins
  • Monetize Your Blog Guides
  • On-Page SEO Guides
  • How to Do Proper Keyword Research
  • Ultimate WordPress SEO
  • Blogging Guides
  • WordPress Security
  • WordPress Guides
  • Search Engine Optimization (SEO)
  • About us
  • Contact Form
  • Disclaimer
  • Privacy Policy
  • Terms of use
  • Editors Pick
  • Recent Posts
  • AdSense
0598371eb05dd52cf14828986b6eeaea758c8f9d png

10+ Useful Tips for 2023 (& Beyond)

June 1, 2023
How to Submit Your Blog to Google News Publisher Center

How to Submit Your Blog to Google News Publisher Center

September 17, 2022
9 Free Websites That Are So Useful They Feel Illegal To Know

9 Free Websites That Are So Useful They Feel Illegal To Know

October 14, 2022
3 Types of WordPress Jobs You Should Consider

3 Types of WordPress Jobs You Should Consider

October 19, 2022
0598371eb05dd52cf14828986b6eeaea758c8f9d png

10+ Useful Tips for 2023 (& Beyond)

June 1, 2023
41b9aaec804c03e2bd79c99959b717b1d162103a png

What is Digital Marketing? Why It Matters (+ Type Key)

June 1, 2023
862b46301ad0dc4bfc427901631fb10eadf2561d png

14 Dramatic Irony Examples in Literature, TV, & Film

May 31, 2023
1fa8b2f489faecb086120e7ecb6602f46d9d4a7a png

How to Write a Novel in 8 Super Simple Steps (2023)

May 31, 2023
how to add footer sticky adsense in wordpress

How to Add Sticky Footer AdSense in WordPress

December 4, 2022
Facebook Twitter Instagram
Thursday, June 1
  • About us
  • Contact Form
  • Disclaimer
  • Privacy Policy
  • Terms of use
Facebook Twitter Instagram
Startblog.tech
  • Start a Blog
  • WordPress Tutorials
    • WordPress Plugins
    • WordPress Security
    • WordPress SEO
    • WordPress Themes
  • Blogging
    • Google AdSense
    • Make Money Blogging 💰
  • SEO
    • Keyword Research
    • On-Page SEO
  • Core Web Vitals
Startblog.tech
Home»WordPress Tutorials»How to Add Stylish Recent Posts Widget in WordPress Without Plugin

How to Add Stylish Recent Posts Widget in WordPress Without Plugin

By Kase NguumaDecember 10, 2022No Comments WordPress Tutorials
Facebook Twitter WhatsApp Telegram LinkedIn Email
How to Add Stylish Recent Posts Widget in WordPress Without Plugin
How to Add Stylish Recent Posts Widget in WordPress Without Plugin

You always want to show your users the newest contents on your blog. That’s why in this post, I will guide you on how to add stylish recent posts widget in WordPress sidebar without adding any other third party plugin or any of such to accumulate the process and disk space of your site.

We will use the default “Recent Posts” widget in your blog then add cool styles to it. But before adding styles to the recent post sidebar widget, we will have to add the widget first.

Adding Recent Post Sidebar Widget.

Login to your WordPress blog then go to Appearance > Widgets.

Locate the “Recent Posts” option then drag it to the sidebar. You can customise how many posts posts you will want to show and change the heading if you will want to use another one.

WordPress Recent Posts Widget
WordPress Recent Posts Widget

Adding Styles to the Widget.

Now that you have successfully added the widget to your blog, it is time to start styling the widget using CSS.

To add CSS the simplest way, we will need to navigate to the customise appearance then additional CSS option. To do this, follow the guide below.

Once you’re in the admin dashboard of your site, go to “Dashboard > Appearance > Customize > Additional CSS”.

Open the Additional CSS then copy and paste the following codes.

/* sidebar boxes customization by Startblog.tech */
#recent-posts-7 h2 {
    background-color:#00253e;
    color:white;
    text-align:center;
    border-radius:7px;
}
#recent-posts-7 {
    background-color:#eef4fa;
    border-top:4px solid #00253e;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
#recent-posts-7 li{
    background-color:white;
    padding:3px 21px;
    border-radius:8px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
#recent-posts-7 li a{
    color:#00253e;
    font-size:13px;
}

FYI: Adding the CSS code to your website will not make the Recent Posts Widget to get its styling immediately. The CSS selectors will have to be changed.

To do this, Open your blog post, locate the “Recent Posts Widget”, then right click on it to Inspect.

Copy the “ID”. In my case, the ID is “recent-posts-6”.

Go back to the code above and change the CSS selectors accordingly.

Final words on How to Add Stylish Recent Posts Widget in WordPress.

Now that you have successfully styled the recent post option in your WordPress site without a plugin, I am sure this will save you some time, stress and bucks.

Go ahead and let me know if this tutorial was helpful.

See you in the next tutorial.

This post is credited to Turbohosty.

Share. Facebook Twitter WhatsApp Telegram LinkedIn Email

Related Posts

305895599d888ae427dd269288526af53fef64bd

SE Level Review – Features, Price and Pros, Cons (2023)

16a3b1017fe506a1b81d71661a09ea0bb60bcde8

9 Best Tracking Tools to Check Google Keyword Ranking

4f1e1cf5bfcb6e31a4cdb1d0b9d9d0d2f6494139

Google Adds Advantages and Disadvantages of Customized Data Markup Support

42c752ca76b82a76b2666196cfb37cbc46c82e80

Google’s useful content update can be a game changer

2c54c756e72507d0a1f0fe05cd600df86a1daf20

SEO For AI Generated Content – What Google Says & What Should You Do?

How to Add Featured Image to WordPress RSS Feed Without Plugin

How to Add Featured Image to WordPress RSS Feed Without Plugin

Leave A Reply Cancel Reply

Recent Posts
  • 10+ Useful Tips for 2023 (& Beyond)
  • What is Digital Marketing? Why It Matters (+ Type Key)
  • 14 Dramatic Irony Examples in Literature, TV, & Film
  • How to Write a Novel in 8 Super Simple Steps (2023)
  • How to Write Notes: Step-by-Step Guide (+ Examples)

Subscribe to StartBlog.tech updates

Get the latest WordPress tutorials and guides, how to make money online tips, blogging tips and many more WordPress related guides for free.

WordPress Guides
WordPress SEO Guides
  • How to Do Properly Keyword Research
  • The Ultimate WordPress SEO in 2022
  • WordPress On-Page SEO Guide for Beginners
Startblog.tech
Facebook Twitter Instagram Pinterest LinkedIn Telegram
  • About us
  • Contact Form
  • Disclaimer
  • Privacy Policy
  • Terms of use
© 2023 Startblog Technologies. Designed by HE-Reigns Computers.

Type above and press Enter to search. Press Esc to cancel.