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

Set a background for posts only, does not affect pages.

Discussion in 'Free Divi Community Forum' started by Chad Williams, Nov 11, 2022.

  1. Chad Williams

    Chad Williams Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    I would like to have a background setting for posts, but it cannot effect pages.

    So if...
    I want the pages to have a white background.
    and I want posts to have a light grey background.

    Both setting need to be global, So, I do have to go into every post to change this setting.
    Looking for code that will do this...

    how would this be done?

    I see global settings and code for both. But I need to split the 2 up and have a background for pages and a different background for posts.

    Is this even possible?

    Thanks,

    Chad
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Beautifully crafted Divi layout packs for you to kick start your Divi sites:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS & see if it works:
    Code:
    Log In or Sign Up to view this code.
    **This should change the background color for your posts.

    If not, kindly share your URL.