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

Remove left and right margin from blog posts

Discussion in 'Free Divi Community Forum' started by Cookie, Jan 22, 2022.

  1. Cookie

    Cookie New Member

    Hi there!
    Can someone help me figure out how to remove the default left, right and bottom margin for posts? I would like the margin to be consistent across pages and posts. I used the custom css below, but it ends up making everything span the entire browser, including my navigation header– I only the need the content width to span 100%.

    .container {
    width: 100%!important;
    max-width: 100%!important;
    }
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    What about the below CSS:
    Code:
    Log In or Sign Up to view this code.
    If still not working, kindly share your URL.