Solved

CSS question:  reducing vertical space above H1 header

Posted on 2014-10-19
3
272 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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
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…

733 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