Forums / Templates, Stylesheets, Page Layout / URGENT Template Broke. Not Sure how to fix <div>

URGENT Template Broke. Not Sure how to fix <div>

Locked

Views: 1,147

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 May 2009, 9:15 PM
#1
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

URGENT Template Broke. Not Sure how to fix <div>

Hi,

ZenCart 1.3.8a with my own template.

Editing File tpl_main_page.php in mytemplate/common

Currently:

<div class="main_content">
	<div class="contents">
	
<?php
<div class="main_content">
	<div class="contents">
		<div class="cont_title">

<?php
if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
   
	echo $product_name; 

} elseif ($category_depth == 'top') {

	echo $category_name; 

} elseif ($category_depth == 'nested') {
 
	echo HEADING_TITLE; 
}
?> 

But www.bestpriceaccessories .ie view a product you'll see my problem.

I tried closing the <div> at the end but it made ruined all the above coding.

Any help would be appreciated.

25 May 2009, 6:09 PM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: URGENT Template Broke. Not Sure how to fix <div>

Site displays nicely in IE8 and FF. However, you have about 30 Javascript errors in IE.