Jump to content

Changing code in header.tpl themes Folder leads to "Bad Gateway/Server Available" Response


Recommended Posts

Hi,

 

I am trying to change some simple code. When I did, it leads to my domain being down on my shared hosting provide.

 

I want to add in another class container and class row for the HOOK_TOP. So just after the header_logo.

 

Below is the template code:

<div class="container">
	<div class="row">
		<div id="header_logo">
			<a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}">
			<img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if $logo_image_width} width="{$logo_image_width}"{/if}{if $logo_image_height} height="{$logo_image_height}"{/if}/>
			</a>
		</div>
		{if isset($HOOK_TOP)}{$HOOK_TOP}{/if}
	</div>
</div>

I would like to do something like this, but it crashes my site. What am I doing wrong?

<div class="container">
	<div class="row">
		<div id="header_logo">
			<a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}">
			<img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if $logo_image_width} width="{$logo_image_width}"{/if}{if $logo_image_height} height="{$logo_image_height}"{/if}/>
			</a>
		</div>
                <div class="container">
                        <div class="row">
		            {if isset($HOOK_TOP)}{$HOOK_TOP}{/if}
                        </div>
                </div>               
	</div>
</div>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...