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 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 Mini Cart Pro Plugin - Instantly add 3 different types of mini cart to your Divi site: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 Block Pro - Premade rolling text design for your Divi site without using any plugins:View Demo
  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 Ultimate Archive Plugin - Replace the default archive "Older Entries" with beautiful pagination:Learn More
  6. Divi Booster

    Divi Booster Divi Expert

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