Guest Posted September 16, 2010 Share Posted September 16, 2010 hi, when i had my website built i had a textbox added to the footer of the index page , i use to use it for site news etc but i now have a news desk added on the site so the text box is now not used. how do i remove the box from the index page, ( it is only visable on the index page of the website) it is defined under configuration as scrolling text ( this is were i add the text to the text box) could some one tell me were and how i delete it , this is the code i found using firebug when i scroll over the textbox <div align="left" style="height: 75px; width: 900px; padding: 10px; overflow-y: scroll; display: block; border: 1px solid rgb(227, 227, 227);"><span style="color: rgb(51, 153, 102);"><br> </span><b><br> </b><br></div> Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted September 16, 2010 Share Posted September 16, 2010 I would have to see the site to be sure. The information you gave does not tell me enough. Maybe it would someone else. If it is IN the footer then look in the includes/footer.php file. It will have some logic code to determine if the site was at the main index page or another so be sure and get it all, but not too much.. It could just be at the bottom of the index.php page in the area below where this code is found.. } else { // default page But, again to be sure I would have to see the site. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Guest Posted September 16, 2010 Share Posted September 16, 2010 hi,thanks for your response, this is the code from the footer, can you tell me what i have to remove and what to leave please. <!-- esf //--> <?php if ($banner = tep_banner_exists('dynamic', 'footer')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0" class="footer"> <tr class="footer"> <td align="center" class="footer"><br><?php echo tep_display_banner('static', $banner); ?><br><br></td> </tr> </table> <?php } ?> <?php if($category_depth == 'top') { ?> <table border="0" width="100%" cellspacing="0" cellpadding="25"> <tr> <td class="scrolltext" align="center"><div align="left" style="height:75px; width:900px; padding:10px; overflow-y:scroll; display:block; border: 1px solid #e3e3e3"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></div></td> </tr> </table> <?php } ?> <!-- Visitors Start --> <?php require(DIR_WS_INCLUDES . 'visitors_count.php'); ?> <!-- Visitors End --> Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted September 16, 2010 Share Posted September 16, 2010 hi,thanks for your response, this is the code from the footer, can you tell me what i have to remove and what to leave please. <!-- esf //--> <?php if ($banner = tep_banner_exists('dynamic', 'footer')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0" class="footer"> <tr class="footer"> <td align="center" class="footer"><br><?php echo tep_display_banner('static', $banner); ?><br><br></td> </tr> </table> <?php } ?> <?php if($category_depth == 'top') { ?> <table border="0" width="100%" cellspacing="0" cellpadding="25"> <tr> <td class="scrolltext" align="center"><div align="left" style="height:75px; width:900px; padding:10px; overflow-y:scroll; display:block; border: 1px solid #e3e3e3"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></div></td> </tr> </table> <?php } ?> <!-- Visitors Start --> <?php require(DIR_WS_INCLUDES . 'visitors_count.php'); ?> <!-- Visitors End --> From what you have given us delete the following: <?php if($category_depth == 'top') { ?> <table border="0" width="100%" cellspacing="0" cellpadding="25"> <tr> <td class="scrolltext" align="center"><div align="left" style="height:75px; width:900px; padding:10px; overflow-y:scroll; display:block; border: 1px solid #e3e3e3"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></div></td> </tr> </table> <?php } ?> Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Guest Posted September 17, 2010 Share Posted September 17, 2010 hi thanks for your reply i removed the code you told me to, and it worked perfectly :thumbsup: , thanks again for your quick response much appreciated.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.