• Resolved lncreator

    (@lncreator)


    Hi I am trying to change the white colour background of the blog page to another colour – how do you do that ?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Yui

    (@fierevere)

    永子

    dashboard, appearance settings

    Hi,
    As you are using Divi theme – with the Divi theme, you can change the background color of your blog page directly within the Divi Builder or through the Theme Customizer:

    Using the Divi Builder for Blog Page

    • Go to Pages in your WordPress dashboard and select Edit with Divi for your blog page.
    • Click on the Section Settings (three horizontal lines icon) for the section containing your blog posts.
    • In the Background tab, choose a new Background Color.
    • Save changes, then Exit and Publish.

    Custom CSS (if needed)

    If you need to target only the blog page, you can add custom CSS by going to Divi > Theme Options > Custom CSS or Appearance > Customize > Additional CSS.

    Add this code:

    .blog #main-content {
    background-color: #000000; // replace with the required color code
    }

    Thread Starter lncreator

    (@lncreator)

    hi Ranjeetkaur

    So nice of you reply that quickly. I never done CSS in my life, but happy to try. It is indeed the Blog page that I need to target. Would it be correct to enter the following:

    .blog #main-content { background-color: #000000; // #bfe5f7}

    Thank you

    Code will be –

    .blog #main-content { background-color: #bfe5f7;}
    Thread Starter lncreator

    (@lncreator)

    Excellent thank you so much Ranjeetkaur

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.