1. PROMO Get 60% OFF Lifetime Pro Membership & access all our Pro Divi Extensions, Divi Layouts, Divi AI Generator, Divi Block, etc.VIEW PRICING
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.
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Changing Text Colors

Discussion in 'Free Divi Community Forum' started by Kirbie, Jun 2, 2024.

  1. Kirbie

    Kirbie New Member

    Hi, I have another question...

    When I did the current version of our site, I assigned colors (foolishly) by setting them inside each article - although I don't honestly recall taking the time to do this. I think instead, they're old 'default' colors.

    We have >200 blog articles. Is there a way, short of what I'm doing, which is going through each one individually, to make a global text color change?

    What I'm doing now is going into each post separately, changing the colors to colors in the global settings. I did assign H1, H2, H3 etc colors in the Divi settings somewhere - customize maybe, but whatever is happening on the blog articles is overriding those settings.

    Can you tell me if there is somewhere else that there are default colors, either in Wordpress or Divi, that I haven't found and can make a global change there?

    I've attached an image of where I *did* make a color change. I'm also attaching an image of what I'm changing on every post, so that my mess is clear to anyone else :)\

    The purple is going away...the colors in the left are the ones I want to use Screenshot 2024-06-02 at 3.13.58 PM.png

    Going purple to green

    Screenshot 2024-06-02 at 3.14.55 PM.png

    Thank you in advance!
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade content toggle design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You just need to use CSS to override all your blog posts title color.

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    body.single h2 {
        color: #b951ca !important;
    }
    **Adjust it to fit your need.
     
  3. Kirbie

    Kirbie New Member

    Thank you SO much! This did work. I only wish I'd seen your reply sooner. I've been on vacation so I worked on it a little bit while I was gone...THANK YOU!
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More
  4. Kirbie

    Kirbie New Member

    Hi. I got thru the blog articles much faster with your help, but it didn't change the colors on pages. When I look at the code you provided, it doesn't indicate post or page. How do I get this code to work on the pages too?
     
  5. Divi.Help

    Divi.Help Administrator
    Staff Member

    .single referring to single blog post page. If you want to apply to all pages, remove the .single, so it ends up with: body h2
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade horizontal timeline design for your Divi site without using any plugins:View Demo
  6. Kirbie

    Kirbie New Member

    Thanks!
     
  7. Kirbie

    Kirbie New Member

    That solution actually took OFF the color fix for the posts and didn't help the pages. I'm done now but just an FYI. I don't know if I did something wrong but when I added back the .single, my posts were right again.
     
    1. PRO MEMBER PERKS Divi Block Pro - Powerful Divi header builder for you to mix & match premade header design, mobile menu & more:Learn More