pippi Posted July 14, 2005 Share Posted July 14, 2005 Hey, Had another question in relation to the basic layout of oscommerce... In the initial osc layout I want to change the width of the blue line just under the heading and the one just above the footer. Have managed to change the color, but not the width... Any help would be greatly appriciated!! Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 14, 2005 Share Posted July 14, 2005 Look in includes/header.php and search for the table holding the breadcrumb. The width of that table is set to 100%. Change that to whatever you want it to be. The table for the footer is in includes/footer.php. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
pippi Posted July 14, 2005 Author Share Posted July 14, 2005 Hey. Thanks for your reply. Think Ive managed to use the wrong terms though... Mean the width of the "blue" line that divide the main body from the footer and header... the same kind of bar above all the menues... How can I make those two lines wider? Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 15, 2005 Share Posted July 15, 2005 The tables I mentioned have the width set to 100%. Change it to whatever you want to shorten it. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
pippi Posted July 15, 2005 Author Share Posted July 15, 2005 Hey again. Thanks for replying. But I think im being misunderstood again... :) Have tried to manipulate the width of the heading and footer... But if you look at the page im currently experimenting on http://www.nordicgreentrade.com/catalog/index.php. I want to, in particular, be able to change how broad but also how long the blue dividers are below the heading and above the footer. Sorry for not being able to explain what I want to do in better terms... Hope you can help me. By the way... you wouldnt know what I have to change in the stylesheet to get rid of the blue line around a link with a picture? eg. my paypal pic at the bottom of the page... Thanks Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 15, 2005 Share Posted July 15, 2005 No need to apologize. It could be me not understanding. I'm assuming you mean the bar that has the text Top->Catalog in it. If that is so, try this. Find the following in includes/header.php <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> and change it to <table border="0" width="100" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> I just changed the 100% to 100. If won't appear as you want but will show you how you can change the width. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.