?
Solved

Cant get rid of whitespace in wordpress theme page

Posted on 2014-01-20
6
Medium Priority
?
472 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
WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

 

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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
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?
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

771 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