Skip to content
Smart Web Worker

Smart Web Worker

  • WordPress
    • WordPress Themes
    • WordPress Snippets
    • WordPress Tips
  • Web Design
  • Web Development
  • Fonts
  • General
  • Contact

Tag: WordPress Loop

Posted onNovember 29, 2012December 19, 2016WordPress

Add style class to first post in the WordPress loop

by Smart Web Worker

How can you make the first post in the WordPress query loop look distinct from the others? You need to add a CSS style specific to the first article in the post list and then style it accordingly. Now the real problem—how do you add a CSS style class only to the first post in the WordPress loop?

Read More

Search the site…

Recent Posts

  • How to Change WordPress URL in MySQL Database Using phpMyAdmin?
  • 10 Tips to Improve Your Website Performance
  • How much to charge for WordPress maintenance?
  • How to Insert Maps in Website?
  • Best Free Handwriting Fonts

Categories

  • Fonts
  • General
  • Web Design
  • Web Development
  • WordPress
  • WordPress Snippets
  • WordPress Themes
  • WordPress Tips

Smart Web Worker

Smart Web Worker is your resource center for web design and development. We share articles and tutorials for web designers and developers. You will also find web design resources such as WordPress themes, fonts and images.

Quick Links

  • Home
  • About
  • Terms of Use
  • Affiliate Disclaimer
  • Contact
  • Sitemap
2025 © Smart Web Worker ⋅ Web Design Resources & Tutorials