Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Want to use Featured Image as Background in BODY BOX only


  #1  
Old Jun 28, 2012, 03:04 PM
tusk1113
 
3 posts · Jun 2012
As the title suggests, I want to use Featured Image as Background in BODY BOX only, on the main page.

I would assume that you can call the featured image somehow, but it is a little beyond me. If you can help, it would be best for all (well at least me) if you explained it as if you were tlking to a 5 year old, because I tend to miss the little things.

Blog is here. http://wotn.tuskland.info

As you can see, on my first post there is a featured image. What I would like to do is remove the featured image that is currently being displayed, then use the same image as the background image in the body box in the center area.

Obviously, the featured image would change by post, so just calling the url of the image doesn't really fit my needs.
  #2  
Old Jun 28, 2012, 04:07 PM
tusk1113
 
3 posts · Jun 2012
Ok, using z-index and cropping seems to be working, for now.

Any advice would be useful still though.
  #3  
Old Jun 28, 2012, 04:26 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
So if I understand you, you want to take the featured image for each post and make it the background image for the POST body. If that is correct, I can see a couple ways this might be doable.

1) add a CSS background statement for each and every post pointing at the featured image
2) code a jscript to determine the the featured post and build the jquery statements to make this the background image
3) look for a plugin that will do this.

for case (1) you would add a css insert like
HTML Code:
div.post-nn {background: url(yourdomain.com/wp-content/path-to-image/) no-repeat top left;
for the other cases you need to do a bunch of digging and learning, they are beyond forum help
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Jun 28, 2012, 04:34 PM
tusk1113
 
3 posts · Jun 2012
I was wanting it to be the BG only in the excerpt box on the home screen. now that that is accomplished (more or less) using z-index and cropping, what I need to do is change the color of the font in the excerpt without changing it in the body of my posts.

link here: http://wotn.tuskland.info
  #5  
Old Jun 28, 2012, 07:03 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
use the firebug extension of firebug and you can examine the css that is applied to the section. Then you can craft a CSS selector and rules to override what is there and put it in teh CSS Inserts section
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
body,text & links (background image) ahliam Center area post/pages 3 Oct 28, 2010 07:13 AM
Body background image at very bottom of page? crashley1784 Page & Category Menu Bars 5 Jul 5, 2010 02:07 PM
want to change the background image for the body Hooday Header configuration & styling 5 Apr 20, 2010 10:14 AM
background image to body hdrieman Atahualpa 3 Wordpress theme 4 Feb 25, 2009 04:10 AM
Background image in body of post Voljunkie Atahualpa 3 Wordpress theme 1 Feb 16, 2009 01:36 PM


All times are GMT -6. The time now is 05:49 PM.


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