problem with loss of css when upgrading to version 3.6
Thanks for the new version. I'm using WP 3.0.4
I had a problem that my site lost all it's css layout when I upgraded. In the source code from the web browser I could see this: <link rel="stylesheet" href="/?bfa_ata_file=css" type="text/css" media="all" />Looking at the header.php file I can see that version 3.6 shows: <link rel="stylesheet" href="<?php echo $homeURL; ?>/?bfa_ata_file=css" type="text/css" media="all" />where as in 3.5 the code was <link rel="stylesheet" href="<?php bloginfo('url'); ?>/?bfa_ata_file=css" type="text/css" media="all" />not sure why $homeURL; hasn't worked. John |
look in the forums http://forum.bytesforall.com/showthread.php?t=12048
|
hi
Thanks, but that doesn't work for me. I've made this fix and it solves the problem with the RSS feed icons, but it hasn't fixed the general css problem and I also noticed that my favicon doesn't appear even after the fix. Sorry |
for the moment, set you css to be internal
ato->Configure CSS & JS->CSS: External file or inline? to internal |
what's is your url?
|
Thanks for your help!
The URL is http://godmanchesterbaptist.org/web/index.php/ The CSS works now, of course, by making it inline. I should have thought of that! I'd swapped the code over to the old 3.5 one: <?php bloginfo('url'); ?>. But changed it back again now. The favicon seems to struggle with: <?php echo $templateURI; ?> instead of the 3.5 code: <?php bloginfo('template_directory'); ?> John |
Please try this. Edit header.php and chnage line 11 from
HTML Code:
<link rel="stylesheet" href="<?php echo $homeURL; ?>/?bfa_ata_file=css" type="text/css" media="all" /> HTML Code:
<link rel="stylesheet" href="<?php echo home_url( '', 'scheme' ); ?>/?bfa_ata_file=css" type="text/css" media="all" /> |
Yep that worked but so did: <?php bloginfo('url'); ?> :)
Now to try the favicon fix! Thanks a million |
remove the other change and do this instead. Edit header.php and add this as the first line.
HTML Code:
<?php global $templateURI, $homeURL; ?> HTML Code:
<?php global $templateURI; ?> |
Thanks - That works 100%.
|
All times are GMT -6. The time now is 05:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.