Title: Customize header CSS
Last modified: August 21, 2016

---

# Customize header CSS

 *  [Sophie-P](https://wordpress.org/support/users/sophie-p/)
 * (@sophie-p)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/customize-header-css/)
 * Dear all,
    I want to customize the header in the advantage theme. It should be
   a super easy one to make, just a white background and one image in the center.
   I wanted to follow this tutorial to do it [http://codex.wordpress.org/Designing_Headers](http://codex.wordpress.org/Designing_Headers),
 * But this directs me to the CSS Stylesheet, which says:
    —————————————————————–*//*
   Surprised to see empty stylesheet? Please note that Advantage * uses minified
   verion of stylesheet. The source is located on * dev/advantage.css. You may use
   one of the follow options: * 1. Save Custom CSS in Theme Options * 2. Create 
   a Child Theme. Advantage will include Child Theme’s * style.css automatically.—————————————————————–*/
 * So, in essence, if I would put in the following code in the custom CSS Stylesheet,
   would this then automatically overwrite the ‘usual’ header code and allow me 
   to insert my ‘logo’ header image?
 * Thanks in advance!
 *     ```
       #header {
         background: url("<?php bloginfo('stylesheet_directory'); ?>/images/logo.jpg")
         no-repeat bottom center; }
       #headerimg  {
         margin: 7px 9px 0;
         height: 200px;
         width: 740px; }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/customize-header-css/#post-4388767)
 * what have you tried so far?
 * what was the result?
 * you can probably not use php code in the custom CSS;
    also, the theme does not
   seem to have an html element with the CSS id `#header`
 * it might be useful if you could post a link to your site.
 *  Thread Starter [Sophie-P](https://wordpress.org/support/users/sophie-p/)
 * (@sophie-p)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/customize-header-css/#post-4388792)
 * Hi!
    Thanks for the quick reply. My website is [http://www.kavel10.nl](http://www.kavel10.nl).
   As you can see, the top header is blue now. As I couldn’t find any code to alter,
   I tried designing the header myself and uploading the image into the header. 
   This looks awful because the image (no matter how small/big the original was)
   will only show between the home button and the search field, so there will be
   lots of blue bits left in the header. I can’t change the remaining blue into 
   white or make it disappear in any other way without meddling with the code I 
   think.
 * I looked at creating a child theme ([http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes))
   and putting the header code in there, but as the original theme doesn’t have 
   an HTML element #header, as you say, I’m not sure what good that would do.
 * It seems silly that a super-easy header with a white background and one image
   would create such a fuss. Do you have any tips?
 * Thanks a million!
    Sophie

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Customize header CSS’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/advantage/1.0.3/screenshot.png)
 * Advantage
 * [Support Threads](https://wordpress.org/support/theme/advantage/)
 * [Active Topics](https://wordpress.org/support/theme/advantage/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/advantage/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/advantage/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [logo](https://wordpress.org/support/topic-tag/logo/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * 2 replies
 * 2 participants
 * Last reply from: [Sophie-P](https://wordpress.org/support/users/sophie-p/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/customize-header-css/#post-4388792)
 * Status: not resolved