Support » Fixing WordPress » resolution problem on web page.

  • Resolved equinestaff

    (@equinestaff)


    I’m currently using StudioPress theme for my web page and i keep getting emails that my site is all over the place and people can’t access it- i have tested the site on different browsers but been told my site resolution is wrong- does any one know how to fix this?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • perhaps a link to the site would be useful?

    Thread Starter equinestaff

    (@equinestaff)

    The resolution was fine for me & I was able to access it no problem.

    However your nav menu is odd. It appears to have p tags between your
    li tags of the menu. This is what is making each menu item appear on a different line.

    People not being able to access the site could be down to your hosting. their ISP, network congestion etc…

    tested using Firefox 3.6.18

    Thread Starter equinestaff

    (@equinestaff)

    Thanks Rebelit- i had a look at my Header and can’t seem to find the problem- if you could have a quick look that would be great.

    Header code.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    <head>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php if (is_home () ) { bloginfo('name'); echo " - "; bloginfo('description');
    } else { wp_title('',true); echo " - "; bloginfo('name'); }?></title>
    <meta name="robots" content="index,follow" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" 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_head(); ?>
    
    </head>
    
    <body>
    <div id="wrapper">
    
    <div id="header">
    <div class="topright"></div>
    </div> <!-- Closes Header -->
    
    <div class="cleared"></div>
    <div id="underheader">
    <div id="toprss"><a>"></img></a></div>
    
    <h1 align="center" class="sitename"><a href="http://www.equinestaff.com.au"><img src="http://www.equinestaff.com.au/wp-content/uploads/2011/07/banner-equinestaff.jpg" width="884" height="162" alt="Horse Jobs, Equine Staff, equestrian careers, Racing positions" longdesc="http://www.equinestaff.com.au" /></a></h1>
    </div>
    <!-- Closes underHeader -->
    
    <div id="nav">
      <?php function get_the_pa_ges() {
      global $wpdb;
      if ( ! $these_pages = wp_cache_get('these_pages', 'pages') ) {
         $these_pages = $wpdb->get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" order by ID');
    
       }
      return $these_pages;
     }
    
     function list_all_pages(){
    
    $all_pages = get_the_pa_ges ();
    foreach ($all_pages as $thats_all){
    $the_page_id = $thats_all->ID;
    
    if (is_page($the_page_id)) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    $output .= '<li' . $addclass . '><a>ID).'" title="'.$thats_all->post_title.'"><span>'.$thats_all->post_title.'</span></a>';
    }
    
    return $output;
     }
    ?>
    
    <ul>
      <p>
        <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a title='Home'><span>Home</span></a>";?>
      </p>
      <p>
        <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a href='http://www.equinestaff.com.au/looking-for-staff"  . "' title='Looking for Staff'><span>Looking for Staff</span></a>";?>
      </p>
      <p>
        <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a href='http://www.equinestaff.com.au/jobs"  . "' title='Looking for Work'><span>Looking for Work</span></a>";?>
      </p>
      <p>
        <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a href='http://www.equinestaff.com.au/visa-services"  . "' title='Visa Services'><span>Visa Services</span></a>";?>
      </p>
      <p>
        <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a href='http://www.equinestaff.com.au/faq"  . "' title='FAQ'><span>FAQ</span></a>";?>
      </p>
      <p>
        <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a href='http://www.equinestaff.com.au/about-us"  . "' title='About Us'><span>About Us</span></a>";?>
      </p>
      <p>
        <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a href='http://www.equinestaff.com.au/contact-us"  . "' title='Contact Us'><span>Contact Us</span></a>";?>
      </p>
      <p>
        <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a href='http://www.equinestaff.biz"  . "' title='Work Outside Australia'><span>Work Outside Australia</span></a>";?>
      </p>
      </ul>
    <div class="cleared"></div>
    </div> <!-- Closes Nav -->
    
    <div class="topcurvewhite"></div>
    <div id="main">

    Thanks heaps

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘resolution problem on web page.’ is closed to new replies.