Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

problem with loss of css when upgrading to version 3.6


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 6, 2011, 07:55 AM
hollidaysjohn
 
16 posts · May 2010
Cambridge, UK
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

Last edited by hollidaysjohn; Jan 6, 2011 at 08:01 AM.
  #2  
Old Jan 6, 2011, 08:04 AM
juggledad's Avatar
juggledad
 
21,712 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
look in the forums http://forum.bytesforall.com/showthread.php?t=12048
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Jan 6, 2011, 08:38 AM
hollidaysjohn
 
16 posts · May 2010
Cambridge, UK
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

Last edited by hollidaysjohn; Jan 6, 2011 at 08:45 AM.
  #4  
Old Jan 6, 2011, 09:05 AM
juggledad's Avatar
juggledad
 
21,712 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
for the moment, set you css to be internal
ato->Configure CSS & JS->CSS: External file or inline? to internal
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #5  
Old Jan 6, 2011, 09:14 AM
juggledad's Avatar
juggledad
 
21,712 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
what's is your url?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #6  
Old Jan 6, 2011, 09:49 AM
hollidaysjohn
 
16 posts · May 2010
Cambridge, UK
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
  #7  
Old Jan 6, 2011, 10:01 AM
juggledad's Avatar
juggledad
 
21,712 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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" />
to
HTML Code:
	<link rel="stylesheet" href="<?php echo home_url( '', 'scheme' ); ?>/?bfa_ata_file=css" type="text/css" media="all" />
and set the CSS back to external
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
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] Upgrading from 3.4.5 to 3.5.3 - looks like no css? wendigo New Versions, & Updating 2 Aug 9, 2010 07:42 AM
HELP!!! Major problem after upgrading to new version today!! GlobalNeat New Versions, & Updating 11 Feb 21, 2010 05:59 AM
Header image does not show after upgrading to Version 3.4.5.1 pbravin Header configuration & styling 4 Feb 9, 2010 03:49 PM
Problem with upgrading version 3.4.2 cato New Versions, & Updating 2 Jul 15, 2009 05:44 AM


All times are GMT -6. The time now is 12:25 AM.


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