• 0
Sign in to follow this  
Followers 0

Inserting Background Image

Question

Posted · Report post

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

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

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...

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

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

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

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;}

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