pacman6570 Posted June 23, 2010 Posted June 23, 2010 Good day I have a white space between navigation bar and Welcome guest and I am not sure how to remove it please see here on my website. http://www.farmfreshdirect.co.za/shop/ Thanks
knifeman Posted June 23, 2010 Posted June 23, 2010 Good day I have a white space between navigation bar and Welcome guest and I am not sure how to remove it please see here on my website. http://www.farmfreshdirect.co.za/shop/ Thanks Change this image: http://farmfreshdirect.co.za/shop/images/pixel_trans.gif to a 1 pixel by 1 pixel gif or remove it entirely. Tim
germ Posted June 23, 2010 Posted June 23, 2010 You'll get more "bang for your buck" if you change this code: <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> to: <!-- commented out <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> //--> You changed the image name in that line from the original code, but you left the height and width as it was - Thus the extra space... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
pacman6570 Posted June 24, 2010 Author Posted June 24, 2010 Change this image: http://farmfreshdirect.co.za/shop/images/pixel_trans.gif to a 1 pixel by 1 pixel gif or remove it entirely. Tim Hi Tim I tried both options and it is not working
pacman6570 Posted June 24, 2010 Author Posted June 24, 2010 You'll get more "bang for your buck" if you change this code: <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> to: <!-- commented out <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> //--> You changed the image name in that line from the original code, but you left the height and width as it was - Thus the extra space... :blush:
pacman6570 Posted June 24, 2010 Author Posted June 24, 2010 Hi I tried to comment it out as per suggestion but it stays the same
germ Posted June 24, 2010 Posted June 24, 2010 Hi I tried to comment it out as per suggestion but it stays the same From the page source: <td class="pageHeading" align="right"><img src="images/pixel_trans.gif" border="0" alt="" width="100" height="80"></td> Nothing has changed despite what you think... >_< If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
pacman6570 Posted June 24, 2010 Author Posted June 24, 2010 >_< From the page source: <td class="pageHeading" align="right"><img src="images/pixel_trans.gif" border="0" alt="" width="100" height="80"></td> Nothing has changed despite what you think... >_< Hi I do not know where to find this above code can you assist?Please
knifeman Posted June 24, 2010 Posted June 24, 2010 >_< Hi I do not know where to find this above code can you assist?Please If you go to your home page and using your mouse, select the word welcome and everything before it. You will see a big highlighted square in the area you want to get rid of. That square is the image you need to get rid of or make it 1x1 pixel. The code for this image in in index.php. Open that file in your text editor and search for the code that Germ posted. Comment out the image and the white area will go away. Tim
germ Posted June 24, 2010 Posted June 24, 2010 The line you need to change is about 10 lines before this code: <td class="main"><?php echo tep_customer_greeting(); ?></td> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
pacman6570 Posted June 25, 2010 Author Posted June 25, 2010 :thumbsup: The line you need to change is about 10 lines before this code: <td class="main"><?php echo tep_customer_greeting(); ?></td> Thank you very much. :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.