Solved

Cant get rid of whitespace in wordpress theme page

Posted on 2014-01-20
6
459 Views
Last Modified: 2014-01-21
I have a wordpress theme that has whitespace at the top of the header and between the title and the body and I cant figure how to reduce it! Help.

I am attaching an image of the white space I want to get rid of. I will upload the CSS files in a minute.

This is the page: http://houstonindicators.com/testlevel1/health/people/people-3/

Thx
0
Comment
Question by:Oscar9ertango
  • 4
  • 2
6 Comments
 

Author Comment

by:Oscar9ertango
ID: 39795891
white space to reduce
blankspace.gif
0
 

Author Comment

by:Oscar9ertango
ID: 39795906
css file
css--2-.zip
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39795966
Whenever you find yourself staring at a CSS issue, right click and select "Inspect Element" if you are using a decent web browser.  This will highlight the element (and allow you to select a new element if needed) and show you a box outline representing the element's size and the CSS affecting the element.

In this case you have:

h1 {
	font-size: 24px;
	color: #24A0E0;
	padding: 10px 0 45px 0;
}

Open in new window


In this file:

http://houstonindicators.com/wp-content/themes/neodym/css/master.css

The 45px of padding is what is causing the whitespace.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:Oscar9ertango
ID: 39796026
That's great! Fixed the white space between the body and title.

Trying to figure out the css setting to take the top padding out of the header. Looking for logo I think
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39796049
Same CSS file.

.site {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #FFFFFF;
    border-color: #D9DDDF #D9DDDF -moz-use-text-color;
    border-image: none;
    border-style: solid solid none;
    border-width: 1px 1px 0;
    padding: 60px 40px;
}

Open in new window


Padding again...
0
 

Author Closing Comment

by:Oscar9ertango
ID: 39797072
Thx!!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now