Jump to content
Sign in to follow this  
lawful1

#header not excepting background image

Recommended Posts

lawful1

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
lawful1
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
catrina
Try this: [code]#header {background-image: url('http://bibleresources.org/wordpress/wp-content/themes/pagelines-template-theme/images/Libinheader.jpg') !important;}[/code]

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
lawful1
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
lawful1
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  

×