I inserted a background image in Custom code:
body {background-image:url('http://mediambar.com/wp-content/themes/stationpro/images/bodybg.png');}
body
But the background imaoge doesn t apear. But when i check it with Firebug, it show me the image inserted with url, but doesn t appear. Why? perhaps is the order of the code line?
Thanks
Excuse my english
but when
Inserting Background Image
Started by
sergiotvvc
, Apr 04 2011 12:11 PM
3 replies to this topic
#1
Posted 04 April 2011 - 12:11 PM
#2
Posted 04 April 2011 - 03:44 PM
Hey Sergio,
Try using the !important declaration. So, your code would become this:
Also, I'm assuming that extra body tag in your post above is just a copy/paste thing, and not that you have an extra body tag in your CSS...
Try using the !important declaration. So, your code would become this:
body {background-image:url('http://mediambar.com/wp-content/themes/stationpro/images/bodybg.png') !important;}
Also, I'm assuming that extra body tag in your post above is just a copy/paste thing, and not that you have an extra body tag in your CSS...
#3
Posted 05 April 2011 - 06:51 AM
Hello,
Thank you so much for information. The post above is a copy/paste of Insert custom CSS styling, but now i deleted it because i editing with Dreamweaver Css.
The problem is where i vave to insert this script code or what i have to edit to resolve it. Now it s impossible to see the background, or appear in he right side repeat.
Thanks
#4
Posted 05 April 2011 - 02:00 PM
Hey Sergio,
I think the actual issue is other elements are appearing "above" the body tag. So, let's try this instead:
I think the actual issue is other elements are appearing "above" the body tag. So, let's try this instead:
#wrapper{background:url("http://mediambar.com/wp-content/themes/stationpro/images/bodybg.png") top center !important;}









