Friday, 6 January 2017

Adding Custom Styles to WordPress Widgets – Phpbits Creative Studio – Medium


Adding Custom Styles to WordPress Widgets We all love widgets do we? It’s one of my favourite WordPress core features because of it’s flexibility. But as I’ve stated on my previous post, are we really taking them for granted? One and the most important example is the widget styling, we are always relying on the theme which always having default widget styles that are almost the same. It’s okay if we are not using them and wasn’t important on our site but the truth is some widgets like about, newsletter and contact forms are necessary on our sites growth. It would be nice if we can easily change the styling of the important widgets which is the very reason why I’ve wrote this tutorial. In this article, I’ll give you different detailed guide on how to add custom styles to WordPress widgets.
Adding Custom Styles to WordPress Widgets Manually
First guide is not relying on the plugin which some of you must prefer but I still encourage you to continue reading after this part, you might be interested on using plugin this time.
By default, WordPress adds CSS classes to each widgets for example widget_calendar for calendar widgets, widget_meta for the
Source: https://managewp.org/articles/14150/adding-custom-styles-to-wordpress-widgets-phpbits-creative-studio-medium




source https://williechiu40.wordpress.com/2017/01/06/adding-custom-styles-to-wordpress-widgets-phpbits-creative-studio-medium/

No comments:

Post a Comment