1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, 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 Blog Post Container (Color)

Discussion in 'Free Divi Community Forum' started by Adam Zoo, May 17, 2024.

  1. Adam Zoo

    Adam Zoo New Member

    I am trying to give color to the BLOG POST CONTAINER, not to the whole BLOG MODULE, and separate each post individually, so far no luck

    upload_2024-5-17_14-30-33.png
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Beautify your Divi archive / category page with 15 different premade blog designs:Learn More
  2. Adam Zoo

    Adam Zoo New Member

    I guess this is:

    .et_pb_blog_0:not(.et_pb_blog_grid_wrapper) .et_pb_post
     
  3. Adam Zoo

    Adam Zoo New Member

    upload_2024-5-17_15-35-33.png

    close I guess
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More
  4. Divi Booster

    Divi Booster Divi Expert

    Hey Adam,

    You can add your code at:

    Blog Settings > Advanced > Custom CSS > Free-Form CSS

    And in it use "selector" to refer to the current module. So enter your CSS in that box like so:

    selector .et_pb_post {
    background-color: #eee;
    }

    Note that the CSS boxes under:

    Blog Settings > Advanced > Custom CSS > Module Elements

    only accept CSS properties as in your first screenshot, not selectors as in your second screenshot. Since there is no CSS box corresponding to the blog post container element, you aren't able to given them individual backgrounds in that way.

    Hope that helps!
     
    Adam Zoo likes this.
  5. Adam Zoo

    Adam Zoo New Member

    Of course it helped! If I were born again, I would be a guitarist or a CSS expert

    THANKS!
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom footer designs for you to choose from:View Demo
  6. Divi Booster

    Divi Booster Divi Expert

    Ha ha! It looks like you're already on the way to becoming a CSS expert :)