ccav
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Twitter Widget Pro] Where do i edit the css file for Twitter Widget Pro?I agree with just customizing the plug-in’s style using custom css in your theme.
That being said, maybe something is wrong with my plugin, but it is very hard to style effectively when there are no class or id hooks around the entire twitter widget div or the tweet list (see the sample below).
<div> <h3> <span class='twitterwidget twitterwidget-title'>MyCompany on Twitter</span> </h3> <ul> <li> <span class='entry-content'>MyCompany has done something cool</span> <span class='entry-meta'> <span class='time-meta'> <a href="http://twitter.com/MyCompany/statuses/12345" target="_blank">about 2 days ago</a> </span> <span class='from-meta'>from web</span> </span> </li> </ul> <div class="follow-button"> <a href="http://twitter.com/MyCompany" class="twitter-follow-button" title="Follow @MyCompany" data-lang="en" target="_blank">@MyCompany</a> </div> </div>Would it be possible to add some hooks (obviously I can change the code myself but that sort of defeats the whole plug-in concenpt)
add a hook to the main div
$widgetContent = $args['before_widget'] . '<div>';add a hook to the list
$widgetContent .= '<ul>';add a hook to the list item
$widgetContent .= '<li>';Thanks
Viewing 1 replies (of 1 total)