my website doesn’t work anymore!! this is a real strange one…
-
hiya,
my site was working fine but now the css won’t load… check it out.
if you check the source code it says that there is no doc type declaration but there is and it should be working perfectly. (check my code below).
now if you use firebug and go into the <head> area it suggests that it’s looking for a random css file…
<link rel=”stylesheet” type=”text/css” href=”//s7.addthis.com/static/r07/widget29.css” media=”all”>
i don’t know where the hell it’s getting that from, or what it is as my code should be pointing to my proper style.css
if you take out the “//s7.addthis.com/static/r07/widget29.css” in firebug and replace it with the actual path to my css style sheet which is “https://allthebestvids.com/wp-content/themes/Best Vids Theme/style.css” then it works like it should!!!!
but as you can see in my code, it’s already pointing there and the doc type is there as well. so even though my code looks to be working perfectly something seems to be messing up!!!
please can someone be a legend and help me out on this? i don’t have any idea what’s wrong with it!
thanks in advance for any help!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>><head profile="https://gmpg.org/xfn/11"> <!-- RSS STUFF --> <link rel="alternate" type="application/rss+xml" title="All The Best Videos" href="https://www.allthebestvids.com" /><!-- RSS STUFF --> <title> <?php if (is_home()) { echo bloginfo('name'); } elseif (is_404()) { echo '404 Not Found'; } elseif (is_category()) { echo 'Category:'; wp_title(''); } elseif (is_search()) { echo 'Search Results'; } elseif ( is_day() || is_month() || is_year() ) { echo 'Archives:'; wp_title(''); } else { echo wp_title(''); } ?> </title> <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" /> <meta name="description" content="<?php bloginfo('description') ?>" /> <?php if(is_search()) { ?> <meta name="robots" content="noindex, nofollow" /> <?php }?> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_enqueue_script ("jquery"); ?> <?php wp_head(); ?> <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js?ver=1.3.2'></script> <script type='text/javascript' src='<?php bloginfo ("template_url");?>/js/jquery.color-RGBa-patch.js'></script> <script type='text/javascript' src='<?php bloginfo ("template_url");?>/js/example.js'></script> </head> <?php $page = $_SERVER['REQUEST_URI']; $page = str_replace("/","",$page); $page = str_replace(".php","",$page); $page = str_replace("?s=","",$page); $page = $page ? $page :'default' ?> <body id="<?php echo $page?>"> <div id="myLogo"> <!-- blog details - work out how to hide it and keep it <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <p><?php bloginfo('description'); ?></p> <ul> <?php wp_list_pages('title_li='); ?> </ul> --> </div> <!-- end of logo --> <div class="nav-wrap"> <ul class="group" id="example-two"> <li class="home"><a rel="rgba(113,116,0,0.9)" href="/">Home</a></li> <li class="funny"><a rel="rgba(50,69,12,0.9)" href="/funny">Funny</a></li> <li class="owned"><a rel="rgba(113,116,0,0.9)" href="/owned">Owned</a></li> <li class="fights"><a rel="rgba(220,133,5,0.9)" href="/fights">Fights</a></li> <li class="sexy"><a rel="rgba(236,85,25,0.9)" href="/sexy">Sexy </a></li> <li class="conspiracy"><a rel="rgba(190,40,5,0.9)" href="/conspiracy">Conspiracy</a></li> <li class="morons"><a rel="rgba(123,91,230,0.9)" href="/morons">Morons</a></li> <li class="forum"><a rel="rgba(255,255,255,0.4)" href="/forum">Forum</a></li> </ul> </div> <br class="clear"/>
- The topic ‘my website doesn’t work anymore!! this is a real strange one…’ is closed to new replies.