Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

removing left column


moziambic

Recommended Posts

i want to remove the left column from one of my pages, removed a few lines but not sure about , can anyone tell me exactly what codeto remove to remove the left column. thanks :rolleyes:

Contributions I'm using:

Updated Spiders.txt | Country State Selector

 

To add more life to your site. Follow this link:

http://addons.oscommerce.com/

Link to comment
Share on other sites

Well, you can just comment out everything in the column_left.php, but that'll still leave you a gap the size of your right column on the left side of your page.

 

You really have to just go into all the pages on your website, and remove this code:

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- right_navigation_eof //-->
</table></td>

 

There are no real shortcuts.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Link to comment
Share on other sites

it did the trick, one more question: i need a three column layout using css, i have done till this code, can you help me out in more thing: i need to make some changes in it, the layout which i need is simllar ti the image, thanks for any help in advance

 

<html>
<head>
<style>
.sitemaptitle {background-color:#eee;border-bottom:1px solid #ccc;font-weight:bold;padding:5px 0 4px 5px;color:#000;}
.sitemapL {float:left;margin-right:80px;position:relative;}
.sitemapR {float:left;margin-right:80px;position:relative;}

</style>
</head>

<body>

<div class="sitemaptitle">Category Title</div><br>
	<div class="sitemapL"><strong>Section Title</strong><br>
		 - <a href="#" rel="next" title="#">Item</a><br>
		 - <a href="#" rel="next" title="#">Item</a><br />
		 - <a href="#" rel="next" title="#">Item</a><br /></div>
	<div class="sitemapR"><strong>Section Title</strong><br />
		 - <a href="#" rel="next" title="#">Item</a><br />
		 - <a href="#" rel="next" title="#">Item</a><br />
		 - <a href="#" rel="next" title="#">Item</a></div>
	<div class="sitemapR"><strong>Home Equity Loans</strong><br />
		 - <a href="#" rel="next" title="#">Item</a><br />
		 - <a href="#" rel="next" title="#">Item</a><br />
		 - <a href="#" rel="next" title="#">Item</a></div>
<p style="clear:both;">?</p>
<div class="sitemaptitle">Category Title</div><br />
	<div class="sitemapL"><strong>Section Title</strong><br />
		 - <a href="#" rel="next" title="#">Format repeats from here</a></div>


</body>
</html>

 

layout.gif

Contributions I'm using:

Updated Spiders.txt | Country State Selector

 

To add more life to your site. Follow this link:

http://addons.oscommerce.com/

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...