Jump to content
Sign in to follow this  
sergiotvvc

Inserting Background Image

Recommended Posts

sergiotvvc

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
Kate

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
sergiotvvc

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
Kate

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  

×