Adding border, but container wrapping transparent area
-
Hi there!
I am new to wordpress. I am trying to add borders around my side nav widgets and blog posts. So far I was able to add this custom css which worked somewhat:
.content-area, .featured-sidebar, .widget-aream {
border: solid 1px #004237;
}However as you can see, there is a huge portion it’s wrapping around. I can’t figure out how to just wrap a border around just the feed and my individual widgets. How can I remedy this?
edit:
I found the solution:
.content-wrapper, .swidgets-wrap {
border: solid 1px #004237;
}The solution for anyone else who has this issue: view the page source, and find the right class of whatever it is nested under.
- This topic was modified 2 years, 5 months ago by .
- This topic was modified 2 years, 5 months ago by .
- This topic was modified 2 years, 5 months ago by .
- This topic was modified 2 years, 5 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Adding border, but container wrapping transparent area’ is closed to new replies.