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 »

bg image for blog page (post container)


  #1  
Old Feb 16, 2011, 09: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, 11:07 AM
juggledad's Avatar
juggledad
 
23,765 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 01:53 PM
[SOLVED] Help - Blog post pulling incorrect excerpt text and image on Facebook iamstermad RSS, Feeds & Subscribing 4 Nov 22, 2010 12:25 AM
[SOLVED] Post container style different for Home Page than single post page maurixx Center area post/pages 13 Jul 23, 2010 03:14 PM
Sticky: Post: Container HELP!! lotusheartsinbloom Plugins & Atahualpa 2 Jul 3, 2009 09:19 PM


All times are GMT -6. The time now is 01:09 PM.


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