Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Different backgrounds for single pages (http://forum.bytesforall.com/showthread.php?t=12376)

Innocent Jan 21, 2011 02:29 PM

[SOLVED] Different backgrounds for single pages
 
Hi!

Well, I tried to add this css into my ATO:

Code:

body.page-id-345 {
background: url(http://kteis.com/wp-content/uploads/2011/01/shop-background.png) no-repeat scroll center top transparent; margin: 0px auto;
background: #000000;
}

but nothing is showing :(

Innocent Jan 21, 2011 04:24 PM

Update:

Now they appeared, but only in two (of four) pages.
:confused:

juggledad Jan 21, 2011 08:30 PM

Your CSS only deals with one page

Innocent Jan 22, 2011 03:46 AM

Yes, I added four different CSS I just put that as an example since all are the same and only page id differs :)

Update:
Today situation is the same, only two pages show background (I checked in Firefox and Chrome).
And IE shows them all. Weird.

juggledad Jan 22, 2011 03:56 AM

what is the url?

Innocent Jan 22, 2011 04:40 AM

Although IE shows background it also shows some really nasty distortions especially in blog :(

I will try putting JPG instead of PNG for images, maybe that'll work.
I noticed that when I create PNG buttons they don't show in Firefox and Chrome.

juggledad Jan 22, 2011 05:11 AM

for the landing page (your page 'Blog') you need 'body.blog'. Also this selector 'body.page-id-345,408 {' is invalid - 408 is not a class. Change it to
HTML Code:

body.page-id-345,
body.page-id-408 {


Innocent Jan 22, 2011 05:20 AM

Oh, thanks a lot, I found the part of the problem, too.
There were also two backgrounds, I had to change them to background-color and background.


All times are GMT -6. The time now is 04:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.