Jump to content
  • 0
olinus

How to edit html?

Question

Hello.

 

I just downloaded a new theme for my upcoming shop: olinus.no

 

I want to make several adjustment to the html and css. I opened the header.tpl file and header.css file and added a new class for the header.

 

The problem is I cannot see any of these changes on the page. It just doesn't show.

 

I added the following css:

#headerouter{
	height: 290px;
	margin: auto;
background: url('../img//header-bak.jpg') no-repeat;
padding-bottom: 10px;
border-bottom: 2px groove #eee;
}

 

html(<div id="headerouter">)

 

<!-- Header -->
				  <div id="headerouter">
  <div id="header">
<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">
 <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />
</a></div>
<div id="header_right">
 {$HOOK_TOP}
</div>
  </div>
		   </div>
  <div id="columns">

 

Any help is highly appreciated!

 

Iselin

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

It's most likely that your changes are not appearing because force .tpl compile is set to no, and that cache is turned on. When making changes go to your back office (assuming a 1.4) -->preferences--->performance and turn on .tpl force compile and cache to no. (remember to reverse these changes when you are finished).

Share this post


Link to post
Share on other sites
  • 0

Thanks El Patron. I just spent hours trying to edit my .tpl files, and could not see the changes. This solution fixed it.

 

pb4sc

Share this post


Link to post
Share on other sites
  • 0

THANK YOU SO MUCH !!!

I've spent days trying to figure it out, googled for hours too, and finally found it !!!

 

too bad the boss is asleep, I almost woke him up saying SOLVED! ;))

 

:D

greetings from serbia!

Share this post


Link to post
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

×