Jump to content

[SOLVED] Move permanent links to the top of the header


Recommended Posts

Hi,

I was searching for similar topics and I didn't found.

I want to move permanent links and the language block to the top of the page.

 

Here it is now:

post-61615-0-21647800-1399463856_thumb.png

 

And I wanted to make it like this:

post-61615-0-34422400-1399463882_thumb.png

 

Link to comment
Share on other sites

This module has already been transplanted to this hook

It must be by changing the code in some of the .tpl files, moving that piece of code between the right <div> tags.

One of my greatest concerns is that it holds the logo little higher and opens a space between the header links.

post-61615-0-94225800-1399539632_thumb.jpg

It doesn't looks good in general.

Edited by IGNITER (see edit history)
Link to comment
Share on other sites

Solved!

In header.tpl I moved the code:

<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">
<img class="logo" src="{$logo_url}" 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>

from <div id="header" class="grid_9 alpha omega"> ... </div>

to <div id="header_right" class="grid_9 omega"> ... </div>

 

Here is the result:

			<!-- Header -->
			<div id="header" class="grid_9 alpha omega">
            
                
               <div id="header_right" class="grid_9 omega">
					
				<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">
					<img class="logo" src="{$logo_url}" 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>
                    
                    {$HOOK_TOP}
                    
				</div>
			</div>

post-61615-0-10102400-1399581091_thumb.png

Link to comment
Share on other sites

thank you for posting solution

btw. by

 

modules > positions

search for list of modules named "displayTop"

and move these two modules to the top of the list.

 

i meant that you have to change module postition, not to transplant it to the hook - and oyu transplanted it ;)

 

topic mared as solved.

Link to comment
Share on other sites

Nothing changed when I tried to move them up and down too.

It's the grid that is messing, I moved all the modules code to the same level of the grid where the logo is.

 

Some say that the grid made customization more convenient, but I doubt it.

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...