Singe widget color
-
Hello,
I’ve been researching for how to change the background color of single widget in the sidebar, but all the results are too old (6 years ago, 3 years ago), and nothing worked for me.
I assume that’s not complicated at all, i just cant find a way to get it done.
Thanks in advance, any help is appreciated.
-
try to use a browser inapection tool to see if the widget has a unique CSS selector (might not be the case with some themes).
http://codex.wordpress.org/Forum_Welcome#Include_as_Much_Information_as_Possible
the ‘old’ topics should generally still be valid, but depending on your currently used theme.
Thanks for the reply Michael, i made it with this code in the style.css – evolve theme.
#text-7 {
background: #FFA895;
}
Now, if you can tell me how to enlarge the font of that widget (which is #text 7). I tried few things in the style.css but nothing worked.http://www.w3schools.com/cssref/pr_font_font-size.asp
the font size might be defined via a more specific style than you are attempting.
not much to comment on without a live link to the site.
Here is the site Michael, i’m trying to enlarge the font on the “Don’t adblock us” widget.
Im new to website development, and even newer to CSS codes, so sorry for the trouble.
this might work:
#text-7 .widget-content h3.widget-title { font-size: 30px!important; } #text-7 .widget-content .textwidget { font-size: 18px; }Yup, it worked perfectly. Many thanks to You Michael
The topic ‘Singe widget color’ is closed to new replies.