Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

bg image for blog page (post container)


  #1  
Old Feb 16, 2011, 10:35 AM
cabdziner
 
22 posts · Feb 2011
I am using ATA 353
There is a static front page and a blog page named "Blog."
I am trying to place a background image only on the Blog page, not in the posts.

I used this code in the "above the loop" and "the loop" sections:

Code:
<?php if ( is_home() ) { 
echo '<img src = "/wp-content/themes/atahualpa353/images/blog_center-background.gif" />';} ?>
The problem is... the image is pushing the posts down below it.

Could someone explain what code I should use to make this a bg image so it sits behind the post excerpts?

Thanks in advance.
  #2  
Old Feb 16, 2011, 12:07 PM
juggledad's Avatar
juggledad
 
23,684 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
use CSS - do a forum search
__________________
"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
[SOLVED] Style a post (blog page) different than a page (cms)? jasontbedell Center area post/pages 11 Dec 29, 2010 02:53 PM
[SOLVED] Help - Blog post pulling incorrect excerpt text and image on Facebook iamstermad RSS, Feeds & Subscribing 4 Nov 22, 2010 01:25 AM
[SOLVED] Post container style different for Home Page than single post page maurixx Center area post/pages 13 Jul 23, 2010 04:14 PM
Sticky: Post: Container HELP!! lotusheartsinbloom Plugins & Atahualpa 2 Jul 3, 2009 10:19 PM


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


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