# Custom Header Image Issues

**URL:** <https://colorlibsupport.com/t/custom-header-image-issues/6771>\
**Category:** Travelify\
**Created:** [January 13, 2015, 10:34pm UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771 "2015-01-13T22:34:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjhinton](https://colorlibsupport.com/user_avatar/colorlibsupport.com/jjhinton/32/3387_2.png) [@jjhinton](https://colorlibsupport.com/u/jjhinton)\
**Post date:** [January 13, 2015, 10:34pm UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/1 "2015-01-13T22:34:15Z")

</div>

Thank you for creating this theme. It looks great. I have a couple of problems with my site. I created a header image with both a logo and text which I uploaded using the “Header Image” option under the “Appearance, Customize” option. Then I used the following custom CSS to eliminate the extra white space around the image.

```auto
.header-image {
	margin-top: -100px;
}

.hgroup-wrap {
	padding-top: 0; 
	padding-bottom: 0;
}

#main-nav {
	margin-top: -38px;
}

```

My probelms are:  
1 - The header shows up fine on my computer, but on my phone, The header runs off the top of the phone (I can only see the bottom half of it).  
2 - The facebook social icon I am using is visible on the computer version, but the hyperlink does not work. It is not visible at all on my phone.

My site is:  
[http://steeplechase.blue-door-designs.com/](http://steeplechase.blue-door-designs.com/)

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![aigars-silkalns](https://colorlibsupport.com/user_avatar/colorlibsupport.com/aigars-silkalns/32/13469_2.png) [@aigars-silkalns](https://colorlibsupport.com/u/aigars-silkalns)\
**Post date:** [January 14, 2015, 1:22pm UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/2 "2015-01-14T13:22:44Z")

</div>

Replace code you are using now with this one instead:

```auto
@media (min-width: 767px) {
	.header-image {
	margin-top: -100px;
	}

	.hgroup-wrap {
	padding-top: 0;
	padding-bottom: 0;
	}

	#main-nav {
	margin-top: -38px;
	}
}

@media only screen and (max-width: 767px) {
	.hgroup-right .social-icons {
		display: block;
	}
}

```

---

<div class="post-metadata">

**Author:** ![jjhinton](https://colorlibsupport.com/user_avatar/colorlibsupport.com/jjhinton/32/3387_2.png) [@jjhinton](https://colorlibsupport.com/u/jjhinton)\
**Post date:** [January 15, 2015, 12:21am UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/3 "2015-01-15T00:21:49Z")

</div>

Great!

I can see the header on my phone and the facebook icon works, but the facebook icon link is not operational on the computer version. Can you help?

Thanks.

---

<div class="post-metadata">

**Author:** ![aigars-silkalns](https://colorlibsupport.com/user_avatar/colorlibsupport.com/aigars-silkalns/32/13469_2.png) [@aigars-silkalns](https://colorlibsupport.com/u/aigars-silkalns)\
**Post date:** [January 15, 2015, 9:22am UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/4 "2015-01-15T09:22:58Z")

</div>

Now add this to the same Custom CSS field right after code you added earlier.

```auto
.hgroup-wrap {
    z-index: 100;
    position: relative; 
}

```

---

<div class="post-metadata">

**Author:** ![jjhinton](https://colorlibsupport.com/user_avatar/colorlibsupport.com/jjhinton/32/3387_2.png) [@jjhinton](https://colorlibsupport.com/u/jjhinton)\
**Post date:** [January 15, 2015, 11:28am UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/5 "2015-01-15T11:28:04Z")

</div>

Thanks, that fixed the facebook icon on my computer, but it no longer shows up on my phone.

Also, I just noticed that an extra navigation link shows up on the cell phone version that is called “Navigation”. Is there a way to remove that?

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![aigars-silkalns](https://colorlibsupport.com/user_avatar/colorlibsupport.com/aigars-silkalns/32/13469_2.png) [@aigars-silkalns](https://colorlibsupport.com/u/aigars-silkalns)\
**Post date:** [January 15, 2015, 12:54pm UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/6 "2015-01-15T12:54:35Z")

</div>

Replace EVERYTHING in Custom CSS field you have now with this code instead. In your code there were duplicate values as well as missing brackets.

```auto
/* remove page title */
.page .entry-title {
    display: none;
}

/* hide text on slider */
.featured-text {
    display: none;
}

@media (min-width: 767px) {
	.header-image {
		margin-top: -100px;
	}

	.hgroup-wrap {
		padding-top: 0;
		padding-bottom: 0;
	}

	#main-nav {
		margin-top: -38px;
	}
	.hgroup-wrap {
		z-index: 100;
		position: relative;
	}
}

@media (max-width: 767px) {
	.hgroup-right .social-icons {
		display: block;
	}

}

```

Name “Navigation” for usability in case you would use blog index for front page. That way you would have a blank line of the top which of course wouldn’t be very intuitive.[Here is a “fix” for that](https://colorlibsupport.com/t/how-to-take-out-the-navigation-menu-out-from-my-websites-menu-bar/#post-4180).

---

<div class="post-metadata">

**Author:** ![jjhinton](https://colorlibsupport.com/user_avatar/colorlibsupport.com/jjhinton/32/3387_2.png) [@jjhinton](https://colorlibsupport.com/u/jjhinton)\
**Post date:** [January 19, 2015, 9:28am UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/7 "2015-01-19T09:28:22Z")

</div>

Thank you. Worked great!

I am having a problem viewing a particular pdf on my site when using Firefox. All other browsers are working. Part of the file loads, but not all of it.

Do you have any ideas why this would happen?

> **[HOA-Team-Building.pdf](https://steeplechase.blue-door-designs.com/wp-content/uploads/2015/01/HOA-Team-Building.pdf)**
>
> 31.78 KB

Thanks again.

---

<div class="post-metadata">

**Author:** ![aigars-silkalns](https://colorlibsupport.com/user_avatar/colorlibsupport.com/aigars-silkalns/32/13469_2.png) [@aigars-silkalns](https://colorlibsupport.com/u/aigars-silkalns)\
**Post date:** [January 19, 2015, 12:09pm UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/8 "2015-01-19T12:09:20Z")

</div>

This is not theme related, nor WordPress related because it is a separate PDF. Many thing might causes this kind of behavior such as slow connection speed, low computer resource that can’t render this PDF, file is too big for browser to render, connection was lost while it was loading etc. Whatever is the reason it has nothing to do with WordPress and WordPress themes.

---

<div class="post-metadata">

**Author:** ![jjhinton](https://colorlibsupport.com/user_avatar/colorlibsupport.com/jjhinton/32/3387_2.png) [@jjhinton](https://colorlibsupport.com/u/jjhinton)\
**Post date:** [January 19, 2015, 2:27pm UTC](https://colorlibsupport.com/t/custom-header-image-issues/6771/9 "2015-01-19T14:27:59Z")

</div>

Okay, thank you for your quick response. I appreciate your help.
