Jump to content

Move user info block above the logo [SOLVED]


Recommended Posts

without modification of module .tpl file it isn't possible.

open blockuserinfo.tpl file and move code:
 

	<p id="header_user_info">
		{l s='Welcome' mod='blockuserinfo'}
		{if $logged}
			<a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>
			<a href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout" rel="nofollow">{l s='Log out' mod='blockuserinfo'}</a>
		{else}
			<a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='Login to your customer account' mod='blockuserinfo'}" class="login" rel="nofollow">{l s='Login' mod='blockuserinfo'}</a>
		{/if}
	</p>

to the top of the file:

xhmnQEW.png

 

 

effect:

Xc7zL6a.png

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Thx, it`s working, but I`ve logo with 980px widht, so probably I`ll need to edit global css file, or any other...

 

yes defiinitely it will be necessary

i checked website from your signature, i suppose that you're talking about this website

but ... i don't see any changes there

 

can you shed some more light what you exactly want to achieve and where?

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