Support » Fixing WordPress » Please help! :) Table not showing

  • Does anyone have an idea of why my tables are not showing in the theme I have chosen?

    The website is here:

    All I am trying to do is put some tables above the theme with some graphics in. Then wordpress is the bottom part of the website, but when the site loads, you can see the graphics come in and then they disappear as if something is removing them.

    Any help would be appreciated.

    Here is the code for the page I am trying to alter

    	global $pagelines_ID;
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="" <?php language_attributes(); ?>>
      <head profile="">
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <!-- Meta Images -->
    	<?php if(pagelines('favicon')):?><link rel="shortcut icon" href="<?php echo pagelines('favicon');?>" type="image/x-icon" /><?php endif;?>
    	<?php if(pagelines('touchicon')):?><link rel="apple-touch-icon" href="<?php echo pagelines('touchicon');?>" /><?php endif;?>
    <!-- Title and External Script Integration -->
    		global $bbpress_forum;
    		if($bbpress_forum ):?>
    			<title><?php bb_title() ?></title>
    			<?php bb_feed_head(); ?>
    			<?php bb_head(); ?>
    			<link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />
    	<?php else:?>
    		<title><?php if(is_front_page()) { echo SITENAME; } else { wp_title(''); } ?></title>
    	<?php endif;?>
    <!-- WordPress Stuff -->
    	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    	<?php if ( is_single() || is_page()) wp_enqueue_script( 'comment-reply' ); ?> <!-- This makes the comment box appear where the ‘reply to this comment’ link is -->
    	<?php  wp_enqueue_script("jquery"); ?>
    <!-- Stylesheets -->
    	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    	<?php get_template_part ('library/dynamic_css'); ?>
    	<!-- Modules w/ Javascript -->
    	<?php if((is_page_template('page-carousel.php') || is_page_template('page-carousel-full.php')) && VPRO) get_template_part ('core/inits/init_carousel');?>
    	<?php if((is_page_template('page-feature.php') || is_page_template('page-feature-page.php') || (is_home() && pagelines('featureblog'))) && VPRO) get_template_part ('core/inits/init_feature');?>
    	<?php if(pagelines('enable_drop_down') && VPRO) get_template_part ('core/inits/init_dropdown');?>
    <?php get_template_part ('library/_ie_fixes'); ?>
    <!-- Font Replacement -->
      	<?php if(VPRO) get_template_part('library/_font_replacement');?>
    	<?php if (pagelines('headerscripts')) echo pagelines('headerscripts');?>
    	<?php wp_head(); ?>
    <body <?php body_class(); ?>>
    	<?php if (pagelines('asynch_analytics')) echo pagelines('asynch_analytics');?>
    	<div id="site" class="<?php e_pagelines('colorscheme', 'greybg', $post->ID);?>">
    		<div id="wrapper">
    				<div id="hcontain" class="content fix">
    				<div align="center"><table cellspacing="0" cellpadding="0" border="1">
        <td rowspan="2"><a href=""><img src="images/nicks-logo.jpg" width="195" height="180" border="0" alt="Nick The Promise Ring - Home"></a></td>
        <td colspan="8"><a href="shop.php"><img src="images/shop.jpg" width="801" height="126" border="0" alt=""></a></td>
        <td><img src="images/about.jpg" width="76" height="54" border="0" alt=""></td>
        <td><img src="images/photos.jpg" width="96" height="54" border="0" alt=""></td>
        <td><img src="images/videos.jpg" width="87" height="54" border="0" alt=""></td>
        <td><img src="images/news.jpg" width="77" height="54" border="0" alt=""></td>
        <td><img src="images/fan-club.jpg" width="109" height="54" border="0" alt=""></td>
        <td><img src="images/endorsements.jpg" width="162" height="54" border="0" alt=""></td>
        <td><img src="images/media.jpg" width="82" height="54" border="0" alt=""></td>
        <td><img src="images/inquiries.jpg" width="112" height="54" border="0" alt=""></td>
    <table cellspacing="0" cellpadding="0" border="0">
        <td><img src="images/middle.jpg" width="996" height="326" border="0" alt=""></td>
        <td><img src="images/sponsors.jpg" width="996" height="69" border="0" alt=""></td>
    					<div id="header" class="fix">
    						<div class="headline">
    							<?php if(pagelines('custom_header')):?>
    								<a class="home" href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name');?>"><img src="<?php echo pagelines('custom_header');?>" alt="<?php bloginfo('name');?>" /></a>
    							<?php else:?>
    							<h1 class="site-title"><a class="home" href="<?php echo get_option('home'); ?>/" title="<?php _e('Home',TDOMAIN);?>"><?php bloginfo('name');?></a></h1>
    							<h6 class="site-description"><?php bloginfo('description');?></h6>
    							<?php endif;?>
    						<div class="icons">
    							<?php if(pagelines('rsslink')):?>
    							<a target="_blank" href="<?php echo RSSURL;?>" class="rsslink"></a>
    							<?php endif;?>
    							<?php if(VPRO):?>
    								<?php if(pagelines('twitterlink')):?>
    								<a target="_blank" href="<?php echo pagelines('twitterlink');?>" class="twitterlink"></a>
    								<?php endif;?>
    								<?php if(pagelines('facebooklink')):?>
    								<a target="_blank" href="<?php echo pagelines('facebooklink');?>" class="facebooklink"></a>
    								<?php endif;?>
    								<?php if(pagelines('linkedinlink')):?>
    								<a target="_blank" href="<?php echo pagelines('linkedinlink');?>" class="linkedinlink"></a>
    								<?php endif;?>
    								<?php if(pagelines('youtubelink')):?>
    								<a target="_blank" href="<?php echo pagelines('youtubelink');?>" class="youtubelink"></a>
    								<?php endif;?>
    								<?php if(pagelines('myspacelink')):?>
    								<a target="_blank" href="<?php echo pagelines('myspacelink');?>" class="myspace"></a>
    								<?php endif;?>
    							<?php endif;?>
    				<div class="container fix <?php if(pagelines('sidebar_layout', $post->ID) == 'left') echo 'sidebar_left';?>">
    					<div class="content">
    						<div class="navcontainer">
    							<div class="hl"></div>
    							<div id="nav" class=" fix">
    								<?php function nav_fallback(){?>
    									<ul class="<?php if(pagelines('enable_drop_down')):?><?php echo 'dropdown';?><?php endif;?>">
    										<?php wp_list_pages('sort_column=menu_order&depth=3&title_li='); ?>
    								<?php	}
    							 	if(function_exists( 'wp_nav_menu')):?>
    									<?php wp_nav_menu( array('theme_location'=>'primary', 'menu_class'  => 'mnav dropdown fix', 'container' => null, 'container_class' => '', 'depth' => 3, 'fallback_cb'=>'nav_fallback' ) ); ?>
    								<?php else:?>
    									<?php nav_fallback();?>
    								<?php endif;?>
    								<?php if(!pagelines('hidesearch')):?>
    									<?php get_template_part ( 'library/_searchform'); ?>
    								<?php else:?>
    									<style type="text/css">#nav ul, #nav .mnav{width:980px;}</style>
    								<?php endif;?>
    							</div><!-- /nav -->
    					<div class="clear"></div>

    The added portion is just the table I am adding with the new header.

Viewing 9 replies - 1 through 9 (of 9 total)
  • I think your img src needs to be the full URL to the image. For example,


    Yeah that was it! Thanks a lot for the help man!

    There is one other issue now.

    When I use colspan in this theme, the images are not sitting where I want them to.

    No matter what I do, the image is sitting down further inside the table and they don’t fit together.

    I’ve tried valign=top but it doesnt seem to work. And when ever I take out the colspan it sits in there fine, but I need the colspan for the buttons.

    Any more help would be appreciated!

    That seems to come from a ‘vertical-align: baseline;’ in reset.css. I can’t find a way to override that, but if I comment it out, the alignment seems right.

    Hmmm.. does taking out reset.css

    have any negative effects on the site? If so, maybe I will just comment it out…

    Don’t take out the entire file. Just the one rule.

    Where is the rule?

    I just commented the file… style.css and commmented that out and it seemed to work.

    Also the top banner does not touch the top of the screen. It used to be at the very top before. But by commenting the “/*@import url(‘core/css/reset.css’);*/” in the style.css it finally worked and i put the table in with the colspan and rowspan.

    So now its almost perfect, but the banner does not touch the top of the screen. Any ideas?

    Do you do a lot of work on word press sites?

    Also here is another interesting thing. By commenting the reset.css the search button now, has a box around it?

    As I said, you should not comment out the entire reset.css file.

    Just find the one rule in reset.css and comment that out, or remove it.

    You can see my site here.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Please help! :) Table not showing’ is closed to new replies.