Solved

Cant get rid of whitespace in wordpress theme page

Posted on 2014-01-20
6
465 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
tiled banner 2 14
HTML question 2 33
WordPress Blog (CSS?) to Suppress Automatic Hyphenation 6 32
How does this modal work? 3 33
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

737 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