Tagged: x
-
AuthorPosts
-
June 6, 2016 at 1:12 pm #1028443
amyhernParticipantHi there,
How do I change the background color of one specific widget? Right now, it’s white and I want it to be #15B59A (a light blue). I don’t want to change the entire widget area, just the background of one in particular.
Regards,
Amy
June 6, 2016 at 1:15 pm #1028446
amyhernParticipantThis reply has been marked as private.June 6, 2016 at 3:57 pm #1028691
Prasant RaiModeratorHello Amy,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
div#text-2 .textwidget {background-color: #15B59A;padding: 0 7px;}Thanks.
June 6, 2016 at 7:01 pm #1028909
amyhernParticipantHi there,
I tried that but it did not change it. Any other ideas?
Thanks in advance!
Regards,
Amy
June 7, 2016 at 1:52 am #1029392
John EzraMemberHi Amy,
Thanks for updating the thread! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
div#text-2 h4.h-widget {background-color: #15B59A;padding: 0 7px;}If it doesn’t work for some reason, please try putting the CSS above all other CSS in your customizer. If it works then you may have a syntax error in your other CSS preventing CSS below it from working. You will need to look for missing “}” closing curly brackets or unclosed single or double quotes.
Let us know how that goes. Hope this helps – thanks!
June 7, 2016 at 8:25 pm #1031017
amyhernParticipantHi there,
This worked! I was missing the closing bracket somewhere. It worked once I fixed that. Thank you for your help!
Have a nice day or evening!
Amy
June 8, 2016 at 6:37 am #1031660
ChristianModeratorYou’re welcome, Amy. Glad we could help. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1028443 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
