Community Forums › Forums › Archived Forums › General Discussion › How To Fix Sidebar Pushed To Bottom
- This topic has 9 replies, 2 voices, and was last updated 9 years, 9 months ago by
Christoph.
-
AuthorPosts
-
July 22, 2016 at 4:13 pm #190029
stefanravalli
MemberHi Guys,
It seems I was being a bit of a cowboy with my CSS and now my sidebar in my blog area has been pushed to the bottom underneath the content instead of beside it. And the background area of my footer seems to have disappeared.
Site Here:
http://www.forwardharmony.com/blogWha happened? (I was being gentle)
http://www.forwardharmony.com/blogJuly 22, 2016 at 7:07 pm #190055Christoph
MemberHi,
around line 610 of the style.css it looks like you accidentally removed the width value from
.content-sidebar .content, .content-sidebar-sidebar .content, .sidebar-content-sidebar .content {
July 22, 2016 at 8:31 pm #190061stefanravalli
MemberAwesome thanks so much for that! After setting it to 919px, margin 0 auto, I was able to solve my other desire to close the space between the sidebar and content.
If anyone can, now just need help with:
-mysterious disappearance of background of footer
-close gap b/w blog entries
-close gap b/w sidebars/content + edge of pageJuly 22, 2016 at 9:56 pm #190063Christoph
MemberHi,
The gap between the blog posts is from the margin-bottom in .entry around line 1248 of style.css.
I wouldn't try to "close the gap" between content and edge of page, I'd just change the background-color in body around line 156.
The background-color for .site-footer is defined around line 1453.
July 23, 2016 at 10:29 am #190077stefanravalli
MemberDidn't work, but it's okay, for now I have changed the background color to match the blog b/g color. However in future, I would like the flexibility to have a different b/g color and have no gaps b/w posts.
July 23, 2016 at 12:15 pm #190084Christoph
MemberWell, I don't see any changes in the code for .entry or .site-footer, so I don't know what to tell you.
As for the body background color, just change it to a different background-color.
July 23, 2016 at 3:48 pm #190092stefanravalli
MemberOh I didn't leave the changes in. I will put in the changes I wanted if you get a chance to check it again.
Thanks for checking the code again 🙂
July 23, 2016 at 3:56 pm #190093stefanravalli
MemberActually I had left the changes in:
.entry {
background-color: #fff;
margin-bottom: 1px; /**changed from something like 28px/
padding: 70px 80px;Even tried adjusting everything to:
.entry {
background-color: #fff;
margin-bottom: 1px; /**changed from something like 28px/
padding: 1px 1px;To no avail.
July 23, 2016 at 4:01 pm #190094stefanravalli
MemberFound it! One down:
.entry-content ol,
.entry-content ul {
margin-bottom: 1px; /**changed from 28px**/
margin-left: 40px;
}July 23, 2016 at 7:05 pm #190099Christoph
MemberHi,
I´m not sure if you are having any caching active (Caching plugin, CDN (like Cloudflare), or hosting) but I don't see the changes in the code:
http://prntscr.com/bwpsfw
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.