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 Make Header Full-Width

Discussion in 'Basic Support Forum' started by Andrew George, Mar 16, 2020.

  1. Andrew George

    Andrew George Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    I'm struggling to make my header fit the entire width of the page. Currently there is a 5px margin on either side that I can't seem to target properly with css. I've tried

    .et_pb_section_5.et_pb_section {

    padding-right: 0px;
    padding-left: 0px;
    background-color: #f7941d!important;
    }

    which works fine using Inspector on Chrome, but doesn't have any effect when publishing. I also tried:

    .free-du-plugin-header .et_pb_row.et_pb_row_5 {
    padding-right: 0px!important;
    padding-left: 0px!important;
    }

    and it doesn't work either.

    Website is: https://georgecriminallawyers.com.au

    Edit: bonus points - could you also help me change the colour of the free-blog-post-navigation previous and next content to #f7941d? My attempts to change that are also not working.

    Thank you!
     
    #1 Andrew George, Mar 16, 2020
    Last edited: Mar 16, 2020
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Modern & powerful Agency Divi layout pack, featuring team carousel, sliding menu, etc.View Demo
  2. Divi Powerful

    Divi Powerful Administrator
    Staff Member

    You should be able to change the padding left & right in the Section Settings.

    Alternatively, use the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  3. Andrew George

    Andrew George Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Thanks so much, got it!
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add custom vertical navigation for your Divi site. Turns into slide in menu on mobile:Learn More