WordPress.org

Ready to get started?Download WordPress

Forums

Change post background color (5 posts)

  1. brandonmccann
    Member
    Posted 1 year ago #

    Hello,

    Alright, so I've stumbled around and figured out how to fix some of the issues I was having. Though, one still remains. How do I change the post background color? I'm trying to change my sidebar and my posts' background to be the same color as the theme's background.

    Thanks in adv.

    http://www.brandonmccann.net

  2. noahjonah
    Member
    Posted 1 year ago #

    These changes are made in your style.css
    w3schools

  3. brandonmccann
    Member
    Posted 1 year ago #

    Yes, but where in my style.css? If I'm reading firebug correctly, it tells me it's on Black.css. However, I cannot find a Black.css in the appearance editor.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Looks like it's here:

    #primary, #sidebar .widget {
        background: none repeat scroll 0 0 #1A1A1A;
        border: 1px solid #111111;
    }

    Do be aware that it's not recommended to make changes in the theme files -- rather use a Child Theme or custom CSS option or plug-in.

    EDIT - yes, that's in black.css, but as noted already, do not change your theme files unless you are okay with losing all the changes when your theme is updated.

  5. brandonmccann
    Member
    Posted 1 year ago #

    I might just leave it then.

    Is it okay to update my style.css file? Sorry, I've just recently jumped into this.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.