[wp-hackers] styling a plugins widget in a theme

Lionel Pointet lionel.pointet at globalis-ms.com
Thu Jul 5 13:08:02 UTC 2012


I agree with Mike, and I would add something: the plugin migth provide 
some hooks if you want to modify the HTML code itself, so take a look at 
its code!

Le 05/07/2012 15:06, Mike Little a écrit :
> On 5 July 2012 13:51, "Matthias P. Würfl" <mpw at taquiri.de> wrote:
>
>> Hi all.
>>
>> Is there a way to design/modify the output of a plugin displayed in the
>> sidebar?
>>
>> I use a plugin that displays a widget in the sidebar. I didn't like the
>> way these contents are displayed, so i modified the plugin. Things i don't
>> like with this solution:
>>
>>
> My first thought would be to just change the CSS to style it how you want
> in your themes' style.css. Widgets have unique ID and easily identifiable
> classes, so you should be able to address a lot of look and layout issues
> with no need to modify code.
>
> MIke




More information about the wp-hackers mailing list