Solved

CSS question:  reducing vertical space above H1 header

Posted on 2014-10-19
3
276 Views
Last Modified: 2014-10-19
Web site: http://www.xolgallery.com/project/isis
Platform: WordPress 4.0
Theme in use: Divi, by Elegant Themes

I've been staring at this for a while and trying different solutions in the style.css file, but I can't seem to get it.

I need to reduce the vertical space above "ISIS Group Exhibition" -- on this page and other pages like it.

I have tried adding margin-top: -1.0em to different selectors, but the tall, vertical space remains. I feel like I am missing something very simple.

Thank you for your advice!

Eric
0
Comment
Question by:Eric Bourland
[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
  • 2
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40390753
You've several areas that have a top padding all affecting the position.

style.css line 672
.et_pb_post .entry-content, .project .entry-content {
    padding-top: 30px;
}


line 1200
.et_pb_section {
    padding: 50px 0;
    position: relative;
}


line 1214
.et_pb_row {
    margin: 0 auto;
    padding: 30px 0 0;
    position: relative;
    width: 1080px;
}
0
 
LVL 3

Author Closing Comment

by:Eric Bourland
ID: 40390764
That's it!

Did you use Firebug to determine which selectors to adjust?

Gary, thanks very much for your help.

Eric
0
 
LVL 58

Expert Comment

by:Gary
ID: 40390765
Yep
0

Featured Post

Technology Partners: 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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

724 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