• Resolved Cherie

    (@che_rose)


    on the main page my site displays just how I want it (except for that my logo and nav bar aren’t centered) but when you click a post the sides display as white instead of all black like the main content area.

    How do I fix this?

    Could it be doing this because I tried to center the navbar and logo using CSS only and not a child theme with the appropriate snippets and change to functions.php?

    My site link is https://www.nickcannonarchves.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • Id like to know how to do this too.

    I cant see your site..

    The URL is just missing a letter, will take you there, Paulism ??

    To change the background you can set the background color for the body,

    body {
        background: #000;
        color: #fff; /*changes the text color to white*/
    }

    You can change the color of your social media icons using this:

    .social-block a {
        color: #fff;
    }

    Other little changes: (text color, text-shadows, etc.)

    .widget-title, h1, h2, h3, h4, h5, h6, .entry-summary, .widget-area, .navbar .nav > li > a {
        color: #fff;
    }
    h1, h2, h3, h4, h5, h6, .navbar .nav > li > a {
        text-shadow: none !important;
    }

    Unfortunately there isn’t really a pretty/convenient way to center the menu and header image because of the way the theme is set up, but for what is currently there, this should work:

    .tc-header .brand a {
        margin-right: -18em;
    }
    .navbar .navbar-inner {
        max-width: 40.5%;
        box-shadow: none !important;
    }

    Hope that helps!
    Cheers!

    Did you see this Snippet to center Header Block?

    Thread Starter Cherie

    (@che_rose)

    I’m currently working on a child theme and I included the snippet. It centers the header and menu but makes that area white and I want that portion to be black. How do I change the background color? and also have my logo be much larger?

    Link to site not working, would help to see what you mean.

    Thread Starter Cherie

    (@che_rose)

    I managed to fix the header situation. There was an extra curly bracket in the php code that was making it not work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post background different from rest of site’ is closed to new replies.