Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Background image for select pages (http://forum.bytesforall.com/showthread.php?t=3700)

FCBrian Oct 2, 2009 10:04 PM

Background image for select pages
 
Hello all,
I would like to set a background image for four pages within my site, which includes 16 pages. Any help on coding this in the CSS is greatly appreciated.

Thanks,
Brian

juggledad Oct 3, 2009 04:09 AM

the background is applied to the body so define the one for the most pages at ATO->Body, Text & Links->Body Style, and then add this at ATO->HTML/CSS Inserts->CSS Inserts (NOTE the page id can be found by editing the page and then looking at the address in the browser address area, the last number is the page id)

HTML Code:

body.page-id-5,
body.page-id-7,
body.page-id-9,
body.page-id-22 {
background: url(http://yourdomain.com/wp-content/themes/atahualpa344/images/backgr.gif)
}



All times are GMT -6. The time now is 08:55 AM.

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