Need help? Check out our Support site, then


Nuntius: how to change background's colour of the pages?

  1. Hey,
    I would like to change the background's colour of the pages and articles of my blog untantraaparis.com that are currently white and grey. Is it feasible?

    Thanks in advance,

    Eric

    The blog I need help with is untantraaparis.com.

    The blog I need help with is clesduphoenix.com.

  2. I checked http://untantraaparis.com/ and I see that the widgets in the sidebar currently have a light gray background color set to #f3f3f3. You can match the rest of the content container area to use that same color by adding the following CSS example to your Appearance > Customize > CSS editor:

    #container,
    #content,
    #content .hentry,
    .entry-utility,
    #sidebar-primary,
    .archive-header,
    .archive .hfeed,
    .error404 .hfeed,
    .search .hfeed {
    	background: #f3f3f3;
    }

    You may find additional areas you want to update depending on the type of page or content area. In that case, you will just want to add the selector for whatever has the white background to the selector list in the example above. If you do find an area you want to add to the list, this help page covers how to find the selector for an element using the web inspector built in to your browser:
    http://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/

  3. thanks a lot for your support! It is really helpfull!
    In fact I would like to do the contrary and change the light gray background colour that remains.
    How can I handle that?

  4. This will allow you to change the grey in the band at the top and the widgets. You can edit my yellow demo color as desired. :)

    #sidebar-primary .widget, .breadcrumbs {
        background: #ffee99;
    }
  5. Great! Thanks also for your support!
    Well, it looks really better now ;-)
    I still have 2 issues I would like to solve regarding the colour:
    - the black site footer
    - the grey line that defines the page and the content

    How can I handle that?

  6. On the footer, the background color is defined in #footer.

    #footer {
        background: #111111;
    }

    On the grey lines around the content, they are set in couple places. .entry-utility is the very top horizontal sliver.

    .hentry {
        border: 1px solid #E5E5E5;
        border-radius: 5px;
        box-shadow: 0 1px 1px #E7E7E7;
    }
    
    .entry-utility {
        border-bottom: 1px dotted #E4E4E4;
        border-radius: 5px 5px 0 0;
    }

    If you wish to get rid of them entirely, change the borders to none and the border radiuses to 0 and set the box-shadow to none as well.

  7. Waow! Just cool to get so many important information quickly ;-)
    Thanks a lot!

  8. I will keep on modifying the colour of the header part.
    The background of the upper part of the header is currently black.
    How can I change it?

  9. The black between the content and sidebar is set here. Edit the color code as desired.

    body:before {
        background: #303030;
    }

    I'm not seeing any black at the top. Are you talking about the admin bar when you are logged in? If so, that cannot be modified.

  10. Thanks for your support. It does not work that time as I saw no differences :-(
    I am referring to the black part behind the header. When the mouse scroll on the menu's title, the color turns into black.

  11. I'm seeing no hover color on the menus. I see a black background on the current page, which is to help the user know which page they are on. If you wish to change that color, add the following CSS and edit the color code as you desire.

    .main-navigation li.current_page_item > a, .main-navigation li.current-menu-item > a {
        background: #ffdd00 !important;
    }
  12. Indeed it concerns the black background on the current page. I added your lines in the CSS program but unfortunately it does not work :-(
    Some changes work and others do not. I do not understand the reason why.
    I checked also the source of the pages through Google chrome. It helped me to recognize the right lines to change. But the modification are once again not always taken into consideration.
    Anyway I updated quickly the blog's appearance thanks to your advices and it looks much better now!
    I will keep on searching!

  13. Hmmm, I just copied the code I had given and pasted it into your CSS edit window (Appearance > Customize > CSS and it turned the black current page item yellow.

    Can you try again? copy and paste it in after any existing CSS that you have and let me know how it goes. Edit or change the color code as you desire (#ffdd00).

  14. Well I did it once again and nothing changes :-(

  15. I just pasted it into your custom CSS and the current page item, A PROPOS is yellow when on your main site page. I've saved it, so view your site and whatever page you are on should have the yellow background in the menu at left.

  16. All right! I understand better now. There is a misunderstanding. I am referring to my blog untantraaparis.com while you are talking about the one called clesduphoenix.com !?!
    Would you mind having a look at untantraaparis.com?

  17. Ah yes: http://untantraaparis.com/ .

    Just to verify, you are wanting to change the hover color on the menu items from black to something else, correct?

  18. The following covers most of the black in the menu items. I've used a red color and the blue you are using as demonstration colors. You can of course edit those as desired.

    #menu-primary li:hover > a, #menu-primary ul ul *:hover > a {
        background: #cc0000;
    }
    #menu-primary ul ul a:hover {
        background: #cc0000;
    }
    #menu-primary .current_page_ancestor > a:hover, #menu-primary .current_page_item > a:hover, #menu-primary .current_page_parent > a:hover, #menu-primary .current-menu-ancestor > a:hover, #menu-primary .current-menu-item > a:hover, #menu-primary .current-menu-parent > a:hover {
        background: #cc0000;
    }
    #menu-primary ul ul {
        background-color: #9FD2FD;
    }
  19. Great! It works! thanks for your support!
    Any idea to change the white background color of any page?

  20. Awesome!

    Add this and edit the color code for the white in the content area. Beware obnoxious red demo color ahead. :)

    #content {
        background: #CC0000;
    }
  21. Perfect! It works ;-)
    2 more points:
    - what about the white part below that remains? (for example page Qui suis-je?)
    - what about the two grey lines under the title of each page?

  22. Ah, they also set a background for the content container. Add the following to get rid of that.

    #container {
        background: none;
    }
  23. To get rid of the border line between the content and title, add the following.

    .entry-content {
        border-top: none;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic