Title: background image in floating header
Last modified: February 4, 2017

---

# background image in floating header

 *  [gawra](https://wordpress.org/support/users/gawra/)
 * (@gawra)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/background-image-in-floating-header/)
 * can i add background image in floating header?

Viewing 1 replies (of 1 total)

 *  [Roman Bondar](https://wordpress.org/support/users/romanbon/)
 * (@romanbon)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/background-image-in-floating-header/#post-8738207)
 * Hello [@gawra](https://wordpress.org/support/users/gawra/),
 * Please try to use the following CSS code.
 * You can add CSS code in **Dashboard** → **Appearance** → **Customize** → **Additional
   CSS** (WordPress 4.7 and up). Also you can add CSS code directly to `style.css`
   file of your [child theme](https://codex.wordpress.org/Child_Themes).
 *     ```
       header#masthead.float-header {
           background-image: url('http://example.com/example.jpg');
           background-size: cover;
           background-repeat: no-repeat;
       }
       ```
   
 * Kind Regards, Roman.

Viewing 1 replies (of 1 total)

The topic ‘background image in floating header’ is closed to new replies.

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

## Tags

 * [floating header](https://wordpress.org/support/topic-tag/floating-header/)

 * 1 reply
 * 2 participants
 * Last reply from: [Roman Bondar](https://wordpress.org/support/users/romanbon/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/background-image-in-floating-header/#post-8738207)
 * Status: not resolved