Surprise Me!

How to Style a Widget Heading with the Thesis Widget Styles Plugin

2011-11-02 0 53 Vimeo

http://www.thesistoolbox.com Let’s begin by opening the Thesis Widget Styles Plugin and then going to our style options. Here we’ll style the widget heading by customizing its font, padding and border but we’ll leave the background alone for the moment. Select each of those options and hit save to so the choices for those appear. Style the Font in a Thesis Widget Heading We’ll make the heading font style Arial and make it 24 pixels in size. Let’s choose a yellowish-charcoal color. We want normal spacing and we’ll get rid of the all caps and center the heading text. We won’t add a background image yet but we will add a border style. Style the Border in a Thesis Widget Heading Copy that same color and we’ll use it in the border that we’ll add. We’ll only use a bottom border here for the heading. Go to the Heading Border Style and select the option of Allow each side of the border to be different then hit the save button so the options for this appear. Check the boxes for No Top, No Right and No Left Border. Let’s make the bottom border 4 pixels wide with the same color used above and we’ll make it solid. Hit the save button. Then let’s go to the page with the widget and refresh it, you can see all the changes. Review the Changes to the Thesis Widget Heading Font and Border You can see we lost our margin around the heading since we modified the text so we need to add some padding to the top. Let’s go back to the 20 pixels of heading padding. Return to the Thesis Widget Styles plugin and go back over to the Overall Padding and get rid of the 1 that we’d placed in Overall Top Padding. Hit save. Now we’ll have 20 pixels on the top again. Go back to the page and refresh it again. It looks like we could use some top margin on the the body text to move it down a bit from the heading. Return to the plugin again and go to our Widget Style Customization Options. Now let’s go to Style the Widget Body and check Customize the Widget Body Margin. Hit save. Then let’s add 10 pixels to the Body Top Margin and leave the rest blank. Return to the page and refresh it and you can see that the body text has moved away from the heading. As you can see using the Thesis Widget Styles plugin to customize widgets is very simple. There are many ways that you can customize and style individual widgets using the overall widget style plus some special styling for the heading and for the body.

Buy Now on CodeCanyon