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 Remove Left/Right/Bottom Margin on posts and make full-width

Discussion in 'Free Divi Community Forum' started by RJH-Estates, Jun 16, 2020.

  1. RJH-Estates

    RJH-Estates New Member

    Hi There,

    Some time ago i had the same issue which was resolved in the thread below.

    Last week i created a new post and all was well, everything was full-width and looking as intended. However when i checked the post today, the left/right/bottom margins are back for some reason. And i've not made any changes to the custom CSS.

    I did update Divi and Wordpress over the weekend, and the custom CSS i was provided with previously remains in place within Divi/Theme Options/Custom CSS. This is the thread that fixed everything last time.

    https://divi.help/threads/remove-left-right-margin-on-post-pages.3307/

    The affected post this time is this:-

    https://www.rjhestates.com/new-apartments-for-sale-in-estepona/

    As you can see, there's white-space/margins left and right, and also at the bottom of the post just above the footer
     
    1. PRO MEMBER PERKS Divi.Help Layout AI Generator - Try the power of AI to generate a custom Divi layout for you:Try Now
  2. RJH-Estates

    RJH-Estates New Member


    I "Think" I've fixed the issue, for some reason there were new entries in the CSS when i inspected the elements. So i've added the following to custom CSS


    Code:
    Log In or Sign Up to view this code.
    From my end it looks and displays as intended, but do you have any idea how this code changed, was it with the DIvi or Wordpress update maybe?
     
  3. Divi.Help

    Divi.Help Administrator
    Staff Member

    Not sure about that. Perhaps it's just a CSS priority issue for different page format. Adding !important tag should fix the issue just fine.
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Beautify your Divi archive / category page with 15 different premade blog designs:Learn More
  4. RJH-Estates

    RJH-Estates New Member

    Ok thanks, well i've fixed it now. I found it odd that the CSS had changed by the possible updates, and overriding the code that i had implemented previously

    Thanks again