creating an individual background for each page with css only
-
I just come off reading through the forum about how to add custom background images to each page, a bit short and it looks like there are not many plugins that actually work for WP3.0.1.
I found a brief post that explained how to simply add a new line of CSS for each page ID, but my template has different CSS code , so i am confused on how to write the right css.
This is the actual CSS that currently displays one and the same background image for all pages:
/* LAYOUT */
#container {width:100%; margin:0 auto; background: #0D0E10 url(images/astro-zodiac-on-our-solar-system.jpg) top left no-repeat;}
….. and i do not know how i would – for instance – add a seperate different image to the ABOUT page with page ID 2 for instanceCan anyone point this out to me please?
-
I’m afraid you’re in entirely the wrong forum. The CSS at WordPress.com does not work the same as the CSS on independently-hosted blogs. You need to be at WordPress.ORG instead.
-
I was actually referroing to this solution:
https://en.forums.wordpress.com/topic/different-backgrounds-for-each-page
home: body.home
about: body.page-id-2
kids: body.page-id-58
pics: body.page-id-2297
contact: body.page-id-1551body.category-blog-design
body.tag-lady-gagabody.date
only that my css looks as described above, somewhat different and i do not know how to properly add what CSS for each page id that should get it’s own backgrpound image…..
-
Hello there,
You are posting to the wrong forum. We do not support wordpress.ORG installs here. We do not provide CSS lessons here for wopr4dpress.ORG bloggers. CSS editing is theme specific at wordpress.COM as our themes by the same name as the wordpress.ORG themes are coded differently because wordpress.COM and wordpress.ORG blogs run on different software. Please stop posting here and compeeling us to type all this stuff. Please go to the correct forum for your software and get support there http://wordpress.ORG/support/wordpress.COM versus wordpress.ORG
https://en.forums.wordpress.com/topic/please-read-me-first-before-posting?replies=1
- The topic ‘creating an individual background for each page with css only’ is closed to new replies.