• 0
Sign in to follow this  
Followers 0

#header not excepting background image

Question

Posted · Report post

Hello, I've tried adding the following code in two places in order to give my header a background image - 1st, in the the child css and after that didn't work, in the custom css. It's still not showing up. Please help.

#header{background:url(http://bibleresources.org/wordpress/wp-content/themes/pagelines-template-theme/images/Libinheader.jpg);
	background-size:100% 98%;
	background-repeat:no-repeat;
	margin: -20px 0px 0px 0px;
	}

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

Ok, so in the Custom Code section I changed the code to include "!important" and my image still will not show. Please help!!! [code]#header{background:url(http://bibleresources.org/wordpress/wp-content/themes/pagelines-template-theme/images/Libinheader.jpg) !important;}[/code]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Try this: [code]#header {background-image: url('http://bibleresources.org/wordpress/wp-content/themes/pagelines-template-theme/images/Libinheader.jpg') !important;}[/code]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

That didn't work. This is so strange. Any other advise is greatly appreciated. bty... I changed the location of the file to (http://bibleresources.org/Libinheader.jpg) to see if that would help and it, obviously, did not. I also switch themes to PlatformPro to see if it would display and it [b]does[/b]. I switched back to Framework and now it doesn't again.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Have you already tried deactivating any active plugins?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No I haven't, but I found a workaround by not placing the image in the #header, but in the #branding using the following code. Thank you for your assistance. [code]#branding .content { background-image: url('http://website/picture.png'); background-position: 0 0; background-repeat: no-repeat; }[/code]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0