[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Cant get rid of whitespace in wordpress theme page

Posted on 2014-01-20
6
Medium Priority
?
474 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
Independent Software Vendors: 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!

 

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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 viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month18 days, 3 hours left to enroll

829 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