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 Source of et-pb class?

Discussion in 'Free Divi Community Forum' started by chris r, Sep 22, 2019.

  1. chris r

    chris r Member

    I created a custom post type via Divi and when I created a few of these posts, my CSS overrides to the color property of an H3 element (with !important) didn't work because there's this in the CSS:

    Code:
    Log In or Sign Up to view this code.
    On the other pages I'm not seeing the .et-db class or #et_boc id anywhere and am not sure where these are being set or how to override. .et-db is attached to the <body> tag and #et_boc is the ID of the <div> right under <div class="entry-content"> in the HTML.

    Does this have anything to do with a custom post type or something else?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade before / after image slider for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Yup. The CSS Classes are added by Divi in CPT. But not sure whether they have CSS like what you shown above.

    To override it, try something like below:
    Code:
    Log In or Sign Up to view this code.
    **Add #page-container to it, to make the CSS has higher priority.