0
votes
0answers
18 views

How to change the title (name) color of new custom widgets in backend

I created a few custom widgets. The following part of the code set up the title (name) and description. How can i include a class for the widget title (name) to change the color of the name that ...
0
votes
0answers
68 views

Dynamic css for a widget plugin

I have a plugin that creates a widget to show latest posts and I would like to add a dynamic css file to style the post title without using inline styles. So for example i have public function ...
0
votes
1answer
79 views

Theme's default styles are overriding my plugin's custom CSS

I have created a little plugin that creates a widget that I've made, basically just a pretty <ul> element. Unfortunately, all default widget styles are overriding my custom CSS, and adding ...
0
votes
1answer
58 views

Custom CSS for a particular text/html widget in Wordpress

I have a couple of text widgets on my Home Sidebar. There is one text widget in particular that I want it to implement custom CSS written in my child theme rather than the default styling provided by ...
0
votes
0answers
53 views

Special characters showing in fallback font

I have created a widget that displays some text using a custom font imported with CSS @font-face. The font have support for scandinavian characters åäö, but when I display these characters in my ...
0
votes
1answer
68 views

Add custom class to a tags [closed]

I want to create a plugin that adds specific class to all a tags.
1
vote
1answer
39 views

Registering a stylesheet inside my WordPress widget

I did see the other topic similar to this but I cannot get mine to work. I am using WordPress 3.8 and am creating a custom widget for a site. I need to style it a certain way so I need to load an ...
2
votes
2answers
239 views

Add class to before_widget for all widgets with a dropdown and a counter

Some predefined widgets offer the option to use a select element (dropdown) and/or a counter after each entry. How can I add the CSS classes widget-with-dropdown or widget-with-counters to these ...
0
votes
1answer
443 views

Sidebar widgets - dynamic CSS : problem with widget-title

Fortunately or unfortunately without much studying I made a dynamic sidebar widget area for my client's website. My functions.php codes are: ... register_sidebar( array ( 'name' => 'Left ...
0
votes
2answers
33 views

Are there any official or unofficial guidelines for the styling of a widget?

I've designed a sidebar widget and found that on many themes the widget looks fine. However, certain themes make the widget look out of place (clashing with colors, bad contrast, etc.) Are there any ...
-1
votes
1answer
180 views

How to add an image as a bullet point in a specific WordPress widget? [closed]

I am using a widget to show latest tweets in my blog. The widget shows latest tweets as a list item. The default list bullet point (black square bullet point) of the theme is shown. I want to change ...
0
votes
1answer
58 views

How to change widget's form color in admin?

I have a simple question. How to change widget's form color in admin panel of wordpress (on widgets page) to make them more unique? Here is a simple example:
0
votes
1answer
328 views

Override WordPress Widget CSS Classes?

I'm attempting to style lists in the sidebar (you know, <ul><li>) and I'm curious how to also make widgets adopt this class. Each widget seems to have its own class assigned to it by ...
1
vote
3answers
1k views

Insert a span inside widget title to give a different color to the second word

I'm trying to make my widget titles two-colored; the first word white and the second one yellow. I have no idea how I can insert a span before the second word of every widget title so that I can put a ...
1
vote
2answers
206 views

Style the archives/category sidebar widget via theme

I would like to change the appearance of the categories and archives widgets in the sidebar such that each category/month alternates the row color. The only way I know how to accomplish this requires ...
0
votes
1answer
116 views

Best practice to include custom user styles in widgets

What's the best way to include custom user styles in widgets? For example adjust colors for buttons, borders etc. without having the user to develop a complete new stylesheet.
0
votes
1answer
558 views

Add a specific css to a widget

I have a theme with a sidebar and 3 widgets. I want to change the color of one of those widgets. The problem is that all the widgets have the same code: <div class="box_outer"> <div ...
1
vote
1answer
986 views

How do I register a stylesheet inside a WordPress widget?

I'm developing a WordPress widget following Dave Clements tutorial. It works well. Now I want to add some styles to it. I want the styles to be in an extra css file which will be loaded during ...
1
vote
1answer
125 views

Big side banners

I would like to have a big header side advertisements like this: What is the best way to achieve that?
0
votes
1answer
502 views

How to style the RSS wordpress?

I am using the default rss feed widget but want to style it. My question is -where to add my piece of code to style the default wordpress rss widget?
0
votes
1answer
218 views

How to customize wordpress sidebar widget

This is how i registered my sidebar: register_sidebar(array( 'name' => 'Post Sidebar', 'before_widget' => '<div class="widgetdiv"><div id="%1$s" class="widget ...
0
votes
3answers
824 views

Style every second widget?

I need to apply a certain style to every second widget in my sidebar, and I'm reluctant to use :nth-child due to cross-browser compatibility issues. Is there a bit of PHP that will allow me to apply a ...
0
votes
1answer
636 views

How put links in wordpress dynamic sidebar?

i would like put link after each widget in dynamic sidebar. I thinks is possible if i use static sidebar, but i don't found any tutorial for this. Thanks you
0
votes
1answer
988 views

How do I use add_action on custom widget?

First hope you will take a look example widget http://pastebin.com/2cL7BmgF There have male and female option. Let say I select male and I want add male.css to wp_head When I put something like this ...
1
vote
2answers
2k views

different class (css) for sidebar widgets

I want to add different class (css) in widgets in site sidebar . For example: First widget in Sidebar -> class=sidebar-top1 Second widget in Sidebar -> class=sidebar-top2 third widget in Sidebar ...
0
votes
1answer
193 views

Missing sidebar parameter “fix” - before_content

as you know the sidebar parameters from register_sidebar() that control the widget layout are - before_widget - after_widget - before_title - after_title the problem is that you cannot implement ...