Jump to content


Photo

Inserting Background Image


  • Please log in to reply
3 replies to this topic

#1 sergiotvvc

sergiotvvc

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 04 April 2011 - 12:11 PM

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

#2 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 04 April 2011 - 03:44 PM

Hey Sergio,
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 sergiotvvc

sergiotvvc

    Newbie

  • Members
  • Pip
  • 7 posts

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 Kate

Kate

    Advocate

  • Members
  • 3039 posts

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:
 #wrapper{background:url("http://mediambar.com/wp-content/themes/stationpro/images/bodybg.png") top center !important;}