Home › Forum › Customization › Sidebar Widget Border
Tagged: border
This topic contains 5 replies, has 3 voices, and was last updated by StartupWP 5 years, 3 months ago.
- AuthorPosts
- August 31, 2013 at 11:21 AM #1080
Hello,
I have searched around and tried a few things, but am unable to get a border set around my right sidebar text widget. If I want to apply it to only certain pages where do I make the change?Website -www.dogrehabworks.com, specifically the sidebar on the Veterinarians page.
Thanks in advance.
August 31, 2013 at 7:24 PM #1081The ID class for that page is
.page-id-492
.So we can style like so:
.page-id-492 #black-studio-tinymce-6 { border: 1px solid #CCCCCC; margin-top: 20px; padding: 0 15px 10px; }
https://startupwp.com/topic/customizing-your-theme/
Is that about what you were thinking?
September 1, 2013 at 10:57 AM #1082Yes that’s what I was thinking. Is there a way to change the background color of the widget? The border helps define the sidebar like I want, but a background color would make it standout even more. Thanks!
September 2, 2013 at 7:05 PM #1086Sure, update to:
.page-id-492 #black-studio-tinymce-6 { background: #eee; border: 1px solid #ccc; margin-top: 20px; padding: 0 15px 10px; }
December 4, 2013 at 6:17 PM #1261Thanks for the code, this helped me in changing widget background color also!
December 5, 2013 at 11:13 AM #1263Excellent.
- AuthorPosts
You must be logged in to reply to this topic.