1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Pesky white space between Top Nav and Header section

Discussion in 'Free Divi Community Forum' started by Graz73, Jun 20, 2022.

  1. Graz73

    Graz73 New Member

    HI,
    I've got this white space showing up between the top navigation and the hero image on my divi site.
    This white space seems to be above the divi body code somehow...

    Here is the site:
    koala.flywheelsites.com
    To view:
    User: flywheel
    PW: regular-nitrogen

    I've tried all the tricks I could find on google:
    • Setting margin-bottom: 0!important; padding-bottom: 0!important;
    • Setting spacing to ) in the divi settings
    • adding CSS to my child theme
    • Setting -
      #et-main-area {
      overflow: hidden!important;
      }
      #et-main-area {
      overflow: hidden!important;
      }
    • and more?!

    None of these worked.
    HELP!!
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  2. Neiman

    Neiman New Member

    This works for me:

    #main-header .et_search_outer {
    display: none!important;
    }
    .single .et_pb_post {
    margin-bottom: 0!important;
    }
    .row_custom_footer:after {
    content: ' '!important;
    }
    .post-template-default #left-area {
    padding-bottom: 0!important;
    }
    .page #left-area {
    width: 100% !important;
    }
    #et-main-area {
    overflow: hidden!important;
    }
    /* Hide the header */
    #main-header { display:none; }
    #page-container {
    padding-top:0px !important;
    margin-top:-1px !important
    }

    Make sure that the page or post type is "blank template"
    If it worked for you then give me a follow @thatblahblahco
     
  3. Graz73

    Graz73 New Member

    I had to modify that code further, but it helped!
    THANKS! following you now!
     
    Neiman likes this.
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo