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] Background graphic file loads first in page transitions (http://forum.bytesforall.com/showthread.php?t=13703)

windhover4 Apr 8, 2011 10:49 AM

[SOLVED] Background graphic file loads first in page transitions
 
Juggledad Genius,

Your posts have been my rock for more than two years. I am stuck on BFA and Juggledad.

Problem: the 1494 x 319 background graphic file (only one I like) loads first in actual size in the upper left side of the screen briefly before the page content comes up. This happens every time you change Menu links. Is there any way to adjust the CSS Insert to avoid this distraction?

I have a new site: http://wiltonsuites.com using the fabulous Atahualpa Theme. I followed some advise found on the forum and got the following CSS Insert to work:

img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}

#wrapper {
position:relative;
z-index:1;
}
div#menu1 ul.rMenu {
background-color: transparent !important;
}

ul.rMenu li a:link, ul.rMenu li a:active,
ul.rMenu li a:visited, ul.rMenu li {
background: transparent !important;
}

ul.rMenu li a:hover {
background: transparent !important;
}


Cheers,
Ray

juggledad Apr 8, 2011 03:14 PM

I get a server not found on that link

lmilesw Apr 9, 2011 04:17 PM

I tried replicating your configuration and I did not get the original image showing first like on your site. Not sure what to tell you.

windhover4 Apr 11, 2011 08:49 AM

My server is iXWebHosting. Concerned that you say you get a different server. Please look at my site info: Attachment 1277

juggledad Apr 11, 2011 09:11 AM

The URL for your site is misspelled

where did you put the line of code
HTML Code:

<img src="http://wiltonsuites.com/wp-content/themes/atahualpa/images/bg.jpg" id="bg" />

windhover4 Apr 11, 2011 11:11 AM

I put the background image file named bg.jpg in the following location in my web shell:

/wiltonsuites.com/wp-content/uploads/bg.jpg

juggledad Apr 11, 2011 11:21 AM

No you didn't read what I asked. The location of the FILE doesn't matter. Where in the Atahualpa theme options did you put that html statement? (it was probably in teh 'Add HTML/CSS Inserts' somewhere)

windhover4 Apr 11, 2011 11:48 AM

Ooooops :o

I had it in the HTML Inserts: Header
I moved it to HTML Inserts: Body Top

It seems to be working much smoother now.

Thank you so much.


All times are GMT -6. The time now is 06:31 PM.

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