eliminate large gap in widget on small screens

The right sidebar wraps below the main body copy on smaller screens.  When it does, there is a large gap between the sidebar (which is now at the bottom of the screen) and the main body copy.  How do I reduce that gap?

screen shot
https://screencast.com/t/KQreV5yA5A

beta page
http://e98.417.myftpupload.com/rad-structures-services/
nsitedesignsAsked:
Who is Participating?
 
Chris StanyonConnect With a Mentor Commented:
On line 1668 of your stylesheet you have this:

.entry { margin-bottom: 100px; }

That's causing the gap :)
0
 
Brandon LyonSenior Frontend DeveloperCommented:
There is a statement in the CSS:

@media only screen and (max-width: 1023px) {
  .content-sidebar .content, 
  .sidebar-content .content {
    margin-bottom: 80px;
  }
}

Open in new window


Modifying or removing that will remove the extra white-space.
0
 
Jim RiddlesPrepress/OMS SpecialistCommented:
When I look at your beta page, I see that the gap is caused by the following CSS:
@media only screen and (max-width: 1023px)
style.css?ver=1.0.0:2359
.content-sidebar .content, .sidebar-content .content {
    margin-bottom: 80px;
}

Open in new window

On line 2360 of the file style.css located in the following folder structure:
wp-content
->themes
---->monochrome-pro

Set that to 0px, and see if that fixes the issue for you.  To be certain that it isn't affecting anything else, check your page at different sizes.  You may need to more narrowly focus the CSS via media calls with different max-widths set to achieve perfection.
1
 
nsitedesignsAuthor Commented:
I added the following to my css and it had no effect.  I even tried using a private window. No change.  
@media only screen and (max-width: 1023px)  {
.content-sidebar .content, .sidebar-content .content {
    margin-bottom: 0px; }
}

Open in new window

0
 
Jim RiddlesPrepress/OMS SpecialistCommented:
Read my comment above, and alter the specific line and file that I specified.  Let me know if that works.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.