change widget background color

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

change widget background color

Postby aretzer » 19 Apr 2012, 14:41

How can I change the background color of all the widgets? (not just the text widget)
aretzer
 
Posts: 35
Joined: 19 Apr 2012, 12:39

Re: change widget background color

Postby Colin » 19 Apr 2012, 23:03

Identify the widget element name and then set the background colour in Custom CSS.
Colin
 
Posts: 2799
Joined: 27 Oct 2009, 10:46

Re: change widget background color

Postby monico » 25 Apr 2012, 08:23

How can I identify the widget name? Where would I find that info?
monico
 
Posts: 15
Joined: 22 Apr 2012, 18:42

Re: change widget background color

Postby Colin » 25 Apr 2012, 09:00

Look at this post in the How to section of this board or search on Sayontan's blog for Firebug.

viewtopic.php?f=8&t=394
Colin
 
Posts: 2799
Joined: 27 Oct 2009, 10:46

Re: change widget background color

Postby drake » 25 Apr 2012, 10:35

For changing background for all widgets content you can add at Suffusion Options -> Back-end -> Custom Includes -> Custom Styles:
Code: Select all
.dbx-content {background:#0052A4;color:#fff;}
.dbx-content label {color:#fff;}

I used above the final blue from widgets headers. You can go at http://www.december.com/html/spec/color3.html and choose the blue which you like.
drake
 
Posts: 3804
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: change widget background color

Postby pontyhall » 26 Sep 2012, 21:44

trying to do the same think with no luck... want transparent background for widgets

http://darkbluedesign.com/

any ideas?
thanks
mike
pontyhall
 
Posts: 17
Joined: 26 Sep 2012, 19:58

Re: change widget background color

Postby Colin » 26 Sep 2012, 22:42

Mike your dbx-content background is set to none rather than transparent. Just set it to transparent in your custom styles. Be aware though that if you do this the underlying colour is white.
Colin
 
Posts: 2799
Joined: 27 Oct 2009, 10:46

Re: change widget background color

Postby drake » 26 Sep 2012, 22:57

Now you have .dbx-content {background:#B38956;}

Add at Custom Styles
Code: Select all
.dbx-content {background:none;}


("none" as value for background property means "no image". Because the definition isn't completed with a color, CSS don't render also any color and let the background transparent. This construction will work also in old versions of IE which don't understand "transparent" property).
drake
 
Posts: 3804
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: change widget background color

Postby pontyhall » 27 Sep 2012, 03:55

used .dbx-content {background:#B38956;} to match wrapper.
still looking to change widget title and background of widget under header

thanks for the quick response,
mike
pontyhall
 
Posts: 17
Joined: 26 Sep 2012, 19:58

Re: change widget background color

Postby drake » 27 Sep 2012, 04:17

For widget titles you need to address h3.dbx-handle at Custom Styles:
Code: Select all
h3.dbx-handle {background:#B38956;color:#fff;}


For widget area below header:
Code: Select all
#horizontal-outer-widget-1 {background:none;border:none;}
drake
 
Posts: 3804
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Next

Return to Support Requests

Who is online

Users browsing this forum: Google [Bot], ztqpzzg and 2 guests