Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Different background image for a single post and page


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 10, 2010, 04:24 AM
wll
 
12 posts · Jan 2010
Comments Different background image for a single post and page

Someone got the css code?

I found something relative: http://forum.bytesforall.com/showthr...nd+single+post
  #2  
Old Jan 10, 2010, 05:00 AM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
see post#6 of that thread, that is the code, just put it in ATO->Add HTML/CSS Inserts->CSS Inserts
You will have to know the page ID you want it to work on. This can be found by viewing that page in your browser, viewing the source and searching for '<body'. You will see the page id there.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 10, 2010, 05:03 AM
wll
 
12 posts · Jan 2010
You mean like this:

div.post-6 {
background: url(/wp-content/themes/atahualpa/images/bg2.jpg) repeat top left
}
  #4  
Old Jan 10, 2010, 05:06 AM
wll
 
12 posts · Jan 2010
It seems the background image appears in the post. I mean the background image of the body. Is this possible?
  #5  
Old Jan 10, 2010, 06:17 AM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
sorry, use 'body.page-id-xx {...}'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Jan 10, 2010, 06:57 AM
wll
 
12 posts · Jan 2010
Thanks alot! It works

The final code is for pages:

body.page-id-2 {
background: url(/wp-content/themes/atahualpa/images/logo.jpg)
}


Do you also know the code for post?

Bookmarks

Tags
image background

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Different background for a single post shus Center area post/pages 6 Dec 23, 2009 07:54 AM
[SOLVED] Adding 'signature' (image) under each post, but only on single-post page AnneTanne Atahualpa 3 Wordpress theme 4 Aug 24, 2009 11:47 AM
Adding signature under single post, not on frontpage /multiple-post page AnneTanne Post-Kicker, -Byline & -Footer 0 Aug 19, 2009 02:16 PM
Archive page shows post box help, and single post on front page help boberang Atahualpa 3 Wordpress theme 0 Aug 7, 2009 09:26 AM
[SOLVED] Next post and previous post links on top of single post page error susieswe Atahualpa 3 Wordpress theme 2 Jul 15, 2009 02:58 PM


All times are GMT -6. The time now is 04:47 PM.


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