Look on my front page... http://webhostmaven.com I am creating a comparison table...but when you click on a post and go to a different page, on my sidebar there is a chopped off comparison table, which I do not want on any page but the homepage. I have chosen homepage only in wordpress but it still shows... Using firebug, found this: <table id="myrp_comparison_table" width="600px" style="width: 600px ! important;"> If I delete that it in firebug the table goes away...where is that? I can't find that code...I am sort of new...thanks...
Possibly a widget with a header "Reviews By Company" and code to fix the table to appear will be; reduce the width set on inline style. <table id="myrp_comparison_table" style="[COLOR="darkgreen"]width: 320px[/COLOR] ! important;"> Code (markup):
This is what is in sidebar.php <h2>Reviews By Company</h2> <ul> <?php query_posts('showposts=5'); ?> <?php while (have_posts()) : the_post(); ?> <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul> Nothing about the table, just the posts...I can't find the piece of code from my original post...
How does the comparing host table appears on the home page? (The same table appears on the sidebar) Is the table belongs to a post?
It appears on homepage where it belongs. On a post page, it moves to the sidebar...but I don't want it on the sidebar. I checked all of the template php. Can't find that code anywhere...
Do you mean that "comparing table" (not the content) appears on the home page belongs to theme you are using? and which is this theme you are using?
Here is the homepage code for the "Review by Company": <h2>Reviews By Company</h2> <ul> <li><a href="http://webhostmaven.com/just-host/">Just Host</a></li> <li><a href="http://webhostmaven.com/in-motion-hosting/">In Motion Hosting</a></li> <li><a href="http://webhostmaven.com/host-monster/">Host Monster</a></li> <li><a href="http://webhostmaven.com/go-daddy/">Go Daddy</a></li> <li><a href="http://webhostmaven.com/globat/">Globat</a></li> </ul> Here is the code when I go to a different page: <h2>Reviews By Company</h2> <ul> <table width='580px' style='width:580px !important;' id='myrp_comparison_table' ><thead><tr><th class='myrp_rank myrp_primary_col'><span>Rank</span></th><th class='myrp_name myrp_primary_alt_col'><span>Name</span></th><th class='myrp_Price myrp_primary_col'><span>Price</span></th><th class='myrp_3 myrp_rating_column myrp_primary_alt_col' style='width:75px !important;'><span>Support</span></th><th class='myrp_average myrp_rating_column myrp_primary_col'><span>Overall Rating</span></th><th class='myrp_info myrp_primary_alt_col'><span>Info</span></th></tr></thead><tbody><tr ><td class='myrp_primary_col myrp_rank'><img src='http://webhostmaven.com/wp-content/plugins/MyRP/includes/images/comparison-tables/redblue/1.png' class='myrp_comparison_number' /></td><td class='myrp_primary_alt_col myrp_name'><a class='post_name' href='http://webhostmaven.com/ipage/'>iPage</a></td><td class='myrp_custom_field myrp_primary_col'>$3.50</td><td class='myrp_primary_alt_col myrp_cat_3' style='width:75px !important;' align='center'><div align='center' class='myrp_star_func'><div class='myrp_rating_container' style='width: 60px !important; text-align:left !important;'><div class='myrp_disabled_star' style='float:right;margin:0!important;padding:0!important;border:0!important;width:0px !important;'></div><div title='5' class='myrp_disabled_star_on' style='margin:0!important;padding:0!important;border:0!important;width:60px !important;'></div></div></div></td><td class='myrp_primary_col myrp_cat_avg' align='center'><div align='center' class='myrp_star_func'><div class='myrp_rating_container' style='width: 60px !important; text-align:left !important;'><div class='myrp_disabled_star' style='float:right;margin:0!important;padding:0!important;border:0!important;width:0px !important;'></div><div title='5' class='myrp_disabled_star_on' style='margin:0!important;padding:0!important;border:0!important;width:60px !important;'></div></div></div></td><td class='myrp_primary_alt_col myrp_info'><a href='http://webhostmaven.com/ipage/' class='myrp_review_link'>Review</a><br /><a href='http://webhostmaven.com/go/ipage.php' target='_blank' class='myrp_visit_link'>Visit Site</a></td></tr><tr class='alt_row'><td class='myrp_primary_col myrp_rank'><img src='http://webhostmaven.com/wp-content/plugins/MyRP/includes/images/comparison-tables/redblue/2.png' class='myrp_comparison_number' /></td><td class='myrp_primary_alt_col myrp_name'><a class='post_name' href='http://webhostmaven.com/host-gator/'>Host Gator</a></td><td class='myrp_custom_field myrp_primary_col'>$4.95</td><td class='myrp_primary_alt_col myrp_cat_3' style='width:75px !important;' align='center'><div align='center' class='myrp_star_func'><div class='myrp_rating_container' style='width: 60px !important; text-align:left !important;'><div class='myrp_disabled_star' style='float:right;margin:0!important;padding:0!important;border:0!important;width:0px !important;'></div><div title='5' class='myrp_disabled_star_on' style='margin:0!important;padding:0!important;border:0!important;width:60px !important;'></div></div></div></td><td class='myrp_primary_col myrp_cat_avg' align='center'><div align='center' class='myrp_star_func'><div class='myrp_rating_container' style='width: 60px !important; text-align:left !important;'><div class='myrp_disabled_star' style='float:right;margin:0!important;padding:0!important;border:0!important;width:0px !important;'></div><div title='5' class='myrp_disabled_star_on' style='margin:0!important;padding:0!important;border:0!important;width:60px !important;'></div></div></div></td><td class='myrp_primary_alt_col myrp_info'><a href='http://webhostmaven.com/host-gator/' class='myrp_review_link'>Review</a><br /><a href='http://webhostmaven.com/go/hostgator.php' target='_blank' class='myrp_visit_link'>Visit Site</a></td></tr><tr ><td class='myrp_primary_col myrp_rank'><img src='http://webhostmaven.com/wp-content/plugins/MyRP/includes/images/comparison-tables/redblue/3.png' class='myrp_comparison_number' /></td><td class='myrp_primary_alt_col myrp_name'><a class='post_name' href='http://webhostmaven.com/just-host/'>Just Host</a></td><td class='myrp_custom_field myrp_primary_col'>$3.95</td><td class='myrp_primary_alt_col myrp_cat_3' style='width:75px !important;' align='center'><div align='center' class='myrp_star_func'><div class='myrp_rating_container' style='width: 60px !important; text-align:left !important;'><div class='myrp_disabled_star' style='float:right;margin:0!important;padding:0!important;border:0!important;width:6px !important;background-position:-6px 0px'></div><div title='4.5' class='myrp_disabled_star_on' style='margin:0!important;padding:0!important;border:0!important;width:54px !important;'></div></div></div></td><td class='myrp_primary_col myrp_cat_avg' align='center'><div align='center' class='myrp_star_func'><div class='myrp_rating_container' style='width: 60px !important; text-align:left !important;'><div class='myrp_disabled_star' style='float:right;margin:0!important;padding:0!important;border:0!important;width:6px !important;background-position:-6px 0px'></div><div title='4.5' class='myrp_disabled_star_on' style='margin:0!important;padding:0!important;border:0!important;width:54px !important;'></div></div></div></td><td class='myrp_primary_alt_col myrp_info'><a href='http://webhostmaven.com/just-host/' class='myrp_review_link'>Review</a><br /><a href='http://webhostmaven.com/go/justhost.php' target='_blank' class='myrp_visit_link'>Visit Site</a></td></tr></tbody></table> <li><a href="http://webhostmaven.com/just-host/">Just Host</a></li> <li><a href="http://webhostmaven.com/in-motion-hosting/">In Motion Hosting</a></li> <li><a href="http://webhostmaven.com/host-monster/">Host Monster</a></li> <li><a href="http://webhostmaven.com/go-daddy/">Go Daddy</a></li> <li><a href="http://webhostmaven.com/globat/">Globat</a></li> </ul> If I can get rid of the red, I will be fine...I jusr can't find the location of that.