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)
-   -   [SOLVED] Is there a way to make the backround behave like the header? (http://forum.bytesforall.com/showthread.php?t=12564)

harpek Feb 1, 2011 01:14 AM

[SOLVED] Is there a way to make the backround behave like the header?
 
Hey Forum!

Is there a way to have the main background image, as set in ATO / Body, Text & Links, shuffle/rotate between a few images stored in a folder... the same exact way the header image can?

I am using Wordpress 3.0.4 and Atahualpa 3.5.3

Thanks!

juggledad Feb 1, 2011 05:21 AM

There is nothing in the theme to do this. ou can have different backgrounds per page by using CSS Inserts.

You could try coping the code that rotates the header and change it to point at the background. If you attempt this, let us know if you succeed

harpek Feb 1, 2011 11:13 AM

Hey Thanks! Can you direct me towards how to do that with CSS inserts? I was looking at the code for the header... I think I will try to dink around with it, but in the meantime would love to make use of a temporary CSS background code.

lmilesw Feb 1, 2011 11:34 AM

You can use a plugin that gives you php code and put in in ATO>Add HTML/CSS Inserts>HTML Inserts: Body Top.

I tried this with NextGen Gallery and used the following php code where the three numbers are for gallery ID, Width, and Height.
HTML Code:

<?php echo nggShowSlideshow(1,900,120); ?>
You would have to determine the ID for your particular gallery and then add something like the following to the CSS Inserts in the same section so it doesn't push the layout down and is behind it.
HTML Code:

#so1_1 {
 z-index: -1;
 position: absolute;
}


harpek Feb 1, 2011 01:17 PM

Hey thanks lmilesw! I am going to look into that option. :)

harpek Feb 1, 2011 02:13 PM

Hey lmilesw,

I am trying out the NextGen Gallery plugin, and I have got the slideshow loaded, but it appears at the top of my blog rather than in the background, despite using the CSS Instert:

Code:

#so1_1 {
 z-index: -1;
 position: absolute;
}

My gallery ID is 1, but how do I get it to respond to the z-index?

Thanks!

lmilesw Feb 1, 2011 04:38 PM

It won't be #sol_1 on your intallation. You will have to determine the selector for it. I use Firebug with Firefox or if you put a link to the site I can determine it for you.

harpek Feb 1, 2011 05:05 PM

Sweet! My blog url is http://itp.nyu.edu/~kh1243/blizzog/

You can see my gallery weirdly at the top – and on top of my tempo bg image.

Thanks a bunch


All times are GMT -6. The time now is 01:06 AM.

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