collector1 Posted June 17, 2011 Share Posted June 17, 2011 Hi, when I add a product to the shopping cart I get a second store logo on top of the original. Any ideas???? Thanks. Link to comment Share on other sites More sharing options...
Guest Posted June 17, 2011 Share Posted June 17, 2011 Jeff, If we could see the issue, we could respond. Chris Link to comment Share on other sites More sharing options...
collector1 Posted June 17, 2011 Author Share Posted June 17, 2011 I have just bought an item from my trial site and after you log in, a second complete shop logo appears on top of the original. It may have something to do with the log off button with is added. <div id="header" class="grid_24"> <div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div> <div id="headerShortcuts"> <?php echo tep_draw_button(HEADER_TITLE_CART_CONTENTS . ($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : ''), 'cart', tep_href_link(FILENAME_SHOPPING_CART)) . tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) . tep_draw_button(HEADER_TITLE_MY_ACCOUNT, 'person', tep_href_link(FILENAME_ACCOUNT, '', 'SSL')); if (tep_session_is_registered('customer_id')) { echo tep_draw_button(HEADER_TITLE_LOGOFF, null, tep_href_link(FILENAME_LOGOFF, '', 'SSL')); } ?> </div> <script type="text/javascript"> $("#headerShortcuts").buttonset(); </script> </div> <div class="grid_24 ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading"><?php echo ' ' . $breadcrumb->trail(' » '); ?></div> </div> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td> </tr> </table> <?php } Link to comment Share on other sites More sharing options...
Guest Posted June 17, 2011 Share Posted June 17, 2011 Hi I think you will need to provide a URL, The code above only calls one png image, without the url I don't think you will get much help. Link to comment Share on other sites More sharing options...
collector1 Posted June 17, 2011 Author Share Posted June 17, 2011 Hi, URL = http://hoarders.co.uk/shopping_cart.php and for more info I have changed the stylesheet.css to } #bodyWrapper { } #bodyContent { } #header { background-image: url(images/hoarders1.png); } #storeLogo { float: left; margin-top: 1px; } #headerShortcuts { float: right; margin-top: 115px; background-color:#FFF; } #columnLeft { padding-top: 5px; } #columnRight { padding-top: 5px; Thanks. Link to comment Share on other sites More sharing options...
Guest Posted June 17, 2011 Share Posted June 17, 2011 Jeff, The reason you are experiencing the issue is because once logged in, the LOGOFF button is added to the nav bar in the header which is wrapping your image because your image exceeds 572px in length. You can correct the issue by relocating the buttons to be ABOVE the header image or reducing the size of your header image to < 572px. Chris Link to comment Share on other sites More sharing options...
collector1 Posted June 17, 2011 Author Share Posted June 17, 2011 How do I relocate the buttons? Thanks. Link to comment Share on other sites More sharing options...
Guest Posted June 17, 2011 Share Posted June 17, 2011 Hi you have #header { background-image: url("images/hoarders1.png"); } so you end up with a logo and a background two pics Link to comment Share on other sites More sharing options...
germ Posted June 17, 2011 Share Posted June 17, 2011 Another way to fix the header if the buttons move: click me I couldn't tell if this applies in your situation because I get a javascript error on the "Create account" page and cannot make an account. :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 > Link to comment Share on other sites More sharing options...
collector1 Posted June 17, 2011 Author Share Posted June 17, 2011 Hi, tried your advice, only one logo but it has now made the buttons over lap. Link to comment Share on other sites More sharing options...
collector1 Posted June 17, 2011 Author Share Posted June 17, 2011 Hi, not the most professional of answers but I have made the shop logo a 1 pixal PNG file and it works! Thanks to all who helped me and prevented my brain from a melt down. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.