IMage Background not show in 3.6.4
Hello, last Friday when my site is updated from 3.5.7 to 3.6.4 the background image is not displayed.
I use a relative path in ATO-> Body-> Body Style background: url('<?php bloginfo('wpurl'); ?> /wp-content/my-atahualpa/background/gerardo_buchmann.jpg') no-repeat center top; When I changed to background: url('/wp-content/my-atahualpa/background/gerardo_buchmann.jpg') no-repeat center top; the image is displayed. After updating another site on another server, the same problem occurred. Please could you consider whether it is a problem of Atahualpa? Please apologize for my English. Marcelo |
Did you use the automatic or manual upgrade?
|
Hi LArry! MAnual update. If i put the path in the browser, can accessed the image.
If use the bloginfo() the background image dissapear from dispaly and CSS (I used Firebug). When I use fixed path without bloginfo(), I see the image and show in CSS Firebug. I expected you understanme |
Instead of bloginfo try somthing like the following
HTML Code:
background: url('<?php echo get_template_directory_uri(); ?>/images/bullets/round-gray.gif') no-repeat 0 7px |
Nothing....
I use this code: HTML Code:
background: url('<?php echo get_home_url(); ?>/wp-content/my-atahualpa/background/gerardo_buchmann.jpg') no-repeat center top; PHP Code:
Thanks!! |
Just use the following for the path
HTML Code:
background: url('/wp-content/my-atahualpa/background/gerardo_buchmann.jpg') no-repeat center top; |
Yes Larry, in the top of the post I say that. But I like to show you because I think is an issue of Atahualpa (or WP ??)
By the way, because I use a local server for development with diferent folders for each site, I need the function bloginfo or get_homeurl for a more simple domain change. |
this functionality did work in 3.5.3 but because of the forced removal of the eval() function by WordPress, it no longer works in 3.6. If I get time, I take a look and see if there is something I can do about it.
|
All times are GMT -6. The time now is 07:38 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.