Plugin Author
Allen
(@amweiss98)
Hi
If you give me a link to the page where the widget runs I may be able to find a CSS solution for you.
Allen
Hi Allen,
Thanks for the very quick reply. My site is restricted access for the moment, so I would need to have your IP to open it for you or at least an email address. Thanks.
Plugin Author
Allen
(@amweiss98)
Ok..the easiest way to change the widget style is to use CSS….i.e., go into the template.css file, and add this, for example:
.news a {
color: black;
}
and the titles in the widget should turn black. Using the same idea, you can change some of the look of the widget.
If you want to contact me, go here:
http://www.allenweiss.com/contact
Plugin Author
Allen
(@amweiss98)
I sent you an email on how to change the widget title. Did you not get it?
Hi Allen, I got your email and I replied to it about 10 mins ago. What you suggest works fine for changing the titles of the feeds but not the widget title. What I need is to change the style of the general title of the widget (i.e. “RSS Widgets” or “Blog Roll” or whatever).
Can I ask you something else: is there any way to make your plugin discard any feed that is not in English?
Many thanks.
Plugin Author
Allen
(@amweiss98)
I sent another email where you use
.widgettitle{
}
Or something like that (the specifics are in the 2nd email. It’s not clear how to discard automatically feed based on language. That must be handled by the user not entering non English feeds
Sorry, I missed your second email. I have tried with .widgettitle , even setting it as !important, but it doesn’t work.
Plugin Author
Allen
(@amweiss98)
hmm..then you must be doing something…here is what I’ve done..I put this in the template.css file:
div.news a{
color:green; /* change to any color you want for the feed item title */
}
.widgettitle{
color:blue; /* change to any color you want for the wdiget title */
}
and this is how it looks on my page
http://www.allenweiss.com/test2
Hi Allen,
I don’t know what I’m doing wrong, but I have moved your code from the template.css to the main style sheet of the theme and there it works to change the title of the ajax widget from my theme, but not the title from your widget. I guess there is some kind of conflict between the two. But I have tried to specify the style with div.news widgettitle {color:blue;} and still the title of your widget doesn’t change.
Could you tell me where is the title echoed so that I can add a span tag with an additional style?
Thanks
Plugin Author
Allen
(@amweiss98)
this is the file of the widget
rss_multi_importer_widget.php
unless you’re running an old version of the plugin, you should be able to change the widget title using css since the title, etc has classes on it. I would use firebug to see what to change and if there is a conflict.
Hi Allen,
Yes, I know it’s rss_multi_importer_widget.php, but where exactly is the titled echoed? Before contacting you, I tried to directly add css tags to these lines:
echo $before_widget;
if ( ! empty( $title ) )
echo $before_title . $title . $after_title;
But it does weird things and never changes the title of the widget, only the titles of the posts.
Plugin Author
Allen
(@amweiss98)
depending on whether there is a title entered the line i 62 in that file…the easiest way to handle this is let me see the page, I can use firebug to see exactly how to change it…use the contact email you used yesterday if that’s what you need.