Skip to Content

Add .first & .last CSS Class Automatically To WordPress Widgets

Submitted by • June 20, 2012 Website: wpshock.com

Previously we showed you how to Add .first & .last CSS class to WordPress Navigation Menus to help with styling attributes when designing a WordPress theme. Today I though it would be beneficial to follow up that tutorial with one that shows you how to automatically add .first & .last CSS class’s to all WordPress widgets displayed anywhere on your site by adding a simple filter to the WordPress dynamic_sidebar_params function.

Visit Site 0 Comments Share

Voted by:
Voted by stuart

No Responses to “Add .first & .last CSS Class Automatically To WordPress Widgets” Leave a reply ›

Leave a Reply

You must be logged in to post a comment

What is WPVote?

WPVote is a place for people to find and vote on the best WordPress content online.

People can create free accounts, and then submit articles and vote for their favourites so that the cream rise to the top. WPVote is about sharing, so feel free to submit and vote upon your articles and those of your friends.

Read More on the About WPVote page