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 Help to remove a fine line in a divi header please

Discussion in 'Free Divi Community Forum' started by Matt CC, Apr 9, 2026.

  1. Matt CC

    Matt CC New Member

    I have a fine vertical line in my header to the right of the logo and before the menu that I can't find how to remove, it's a header from Divi Flexile Headers For the life of me I can't see where to remove it - I've checked borders on everything I can see! Any help to remove it is appreciated - the header can be seen here: https://matthewe253.sg-host.com and I've uploaded an image with a crude arrow pointing to the area!
    Thanks
    Matt
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - Premade floating button design for your Divi site without using any plugins:View Demo
  2. Divi Booster

    Divi Booster Divi Expert

    Hey Matt,

    It's a right border set on the column containing your logo. You can probably remove it from within the column settings (Design > Border), otherwise you should be able to remove it with the following CSS:

    Code:
    Log In or Sign Up to view this code.
    Hope that helps!
     
  3. Matt CC

    Matt CC New Member

    Hi Dan - thanks but no that didn't work.

    It appears there isn’t a column for the left hand side - see the screen shot here: http://matthewe253.sg-host.com/wp-content/uploads/2026/04/header-build.jpg

    I’ve looked and can’t see an option for column border, I did add the code you supplied into the css for color codes, code also added it to the custom css on the logo, and custom css on the orange header section, nothing seems to work. The code from those boxes is below.



    CSS FOR COLOR CODES:

    <style>
    .dfh-10 .et_mobile_menu li:not:)last-child) a,
    .dfh-10 .nav li li:not:)last-child),
    .dfh-10 .et-menu-nav li.mega-menu>ul>li>a:first-child,
    .dfh-10 .et-menu-nav li.mega-menu ul li ul li:not:)last-child) a {
    border-bottom: 1px solid rgb(0,0,0,0.1) !important;

    }

    .dfh-10 .et_pb_menu__search-input {
    color: #383838;
    }

    @Media screen and (min-width: 981px) {
    .dfh-10 .sub-menu:before {
    color: #383838;
    }

    }
    div.et_pb_column_0_tb_header {
    border-right: none;
    }
    </style>


    AND

    CODE:

    <script>
    (function($) {
    function dfh_collapse_menu() {
    var ParentMenuItem = $('.dfh-10 .et_mobile_menu .menu-item-has-children > a');
    ParentMenuItem.off('click').click(function() {
    $(this).attr('href', '#/');
    $(this).parent().children().children().toggleClass('dfh-show-menu-items');
    $(this).toggleClass('dfh-menu-switched-icon');
    });

    }
    $(window).load(function() {
    setTimeout(function() {
    dfh_collapse_menu();
    }, 700);
    });

    })(jQuery);
    div.et_pb_column_0_tb_header {
    border-right: none;
    }
    </script>

    <style>
    .dfh-10 .et_mobile_menu .menu-item-has-children > a:after {
    content: '\\50';
    display: block !important;
    font-family: 'ETmodules';
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    right: 10px;
    top: 13px;

    }

    .dfh-10 .et_mobile_menu .menu-item-has-children > .dfh-menu-switched-icon:after {
    content: '\\4f';
    }
    .dfh-10 .et_mobile_menu .menu-item-has-children > a {
    position: relative;
    }
    .dfh-10 .et_mobile_menu .menu-item-has-children .sub-menu li {
    display: none;
    }

    .dfh-10 .et_mobile_menu .menu-item-has-children .sub-menu .dfh-show-menu-items {
    display: block;
    }
    .dfh-10 .nav li {
    margin-top: 0 !important;
    }
    .dfh-10 .nav li li {
    padding: 0 !important;
    }
    .dfh-10 .et-menu .menu-item-has-children>a:first-child:after {
    top: 30px !important;
    }

    .dfh-10 .et_pb_menu .et_mobile_menu,
    .dfh-10 .et_mobile_menu {
    padding: 0 !important;
    border-width: 2px;
    border-radius: 5px;
    }

    .dfh-10 .et_pb_menu .et_mobile_menu a,
    .dfh-10 .et_mobile_menu a {
    padding: 12px 20px !important;

    }
    .dfh-10.et_pb_menu .et-menu-nav li.mega-menu ul.sub-menu {
    border-width: 2px !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    width: 100% !important;

    }
    .dfh-10 .nav li.mega-menu li {
    border-bottom: none !important;
    }
    .dfh-10.et_pb_menu .et-menu-nav li.mega-menu ul.sub-menu a {
    padding: 12px 0 !important;
    }
    @Media screen and (min-width: 981px) {
    .dfh-10 .et-menu > .menu-item-has-children > .sub-menu:before {
    font-family: ETmodules;
    content: '\\42';
    position: absolute;
    right: 20px;
    top: -17px;
    font-size: 30px;

    }

    .dfh-10 .et-menu > .menu-item-has-children.mega-menu > .sub-menu:before {
    content: '';

    }
    .dfh-10 .et-menu .sub-menu .menu-item-has-children>a:first-child:after {
    content: "\\35" !important;
    top: 10px !important;

    }
    .et-db #et-boc .et-l .dfh-10.et_pb_menu .et-menu-nav li ul.sub-menu li ul.sub-menu {
    left: 200px !important;
    top: 0;

    }
    .et-db #et-boc .et-l .dfh-10.et_pb_menu .et-menu-nav li.mega-menu ul.sub-menu li ul.sub-menu {
    left: 0 !important;
    padding: 0 !important;
    }

    }

    @Media screen and (max-width: 980px) {
    .dfh-10 .et_pb_menu_inner_container {
    align-items: center;
    display: flex;
    padding-bottom: 10px;
    padding-top: 10px;

    }
    .dfh-10 .et_pb_menu__logo-wrap {
    margin-bottom: 0 !important;
    }
    .dfh-10 .et_pb_menu__wrap {
    justify-content: flex-end !important;
    }
    }

    </style>


    http://matthewe253.sg-host.com/wp-content/uploads/2026/04/header-build.jpg



     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo
  4. Divi Booster

    Divi Booster Divi Expert

    Hey Matt,

    Sorry, I was looking at the source and didn't spot that it was a specialty section. In specialty sections, the extra area for modules outside the row is actually implemented as a column - but this "hidden" column isn't configurable via the builder the way columns normally are, so I was wrong to suggest that.

    Looking now, I don't see the grey line in your header, so hopefully you've managed to get rid of it already? If not, try putting the CSS I gave you into:

    WP Admin > Divi > Theme Options > General > Custom CSS

    It worked when I applied it manually in the browser, so it should work if added to the page. Though I would have expected it to work in your code modules too - the two with <style> tags at least... the one with the <script> tag is for JavaScript and the CSS is not valid there.

    Anyway, hopefully you're all sorted now, but if not and adding the CSS to the Custom CSS box doesn't work either, let me know and I'll dig into it some more.
     
  5. Matt CC

    Matt CC New Member

    All sorted - thanks Dan for all your help, much appreciated!




     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add more varieties for your Divi header (12 premade styles) + menu hover effects:Learn More
  6. Divi Booster

    Divi Booster Divi Expert

    Great! You're very welcome, Matt :)