IGNITER Posted May 7, 2014 Share Posted May 7, 2014 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: And I wanted to make it like this: Link to comment Share on other sites More sharing options...
selectshop.at Posted May 7, 2014 Share Posted May 7, 2014 Your Prestashop version is ? Link to comment Share on other sites More sharing options...
IGNITER Posted May 7, 2014 Author Share Posted May 7, 2014 PrestaShop™ 1.5.6.1 Link to comment Share on other sites More sharing options...
vekia Posted May 8, 2014 Share Posted May 8, 2014 modules > positions search for list of modules named "displayTop" and move these two modules to the top of the list. Link to comment Share on other sites More sharing options...
IGNITER Posted May 8, 2014 Author Share Posted May 8, 2014 (edited) 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. It doesn't looks good in general. Edited May 8, 2014 by IGNITER (see edit history) Link to comment Share on other sites More sharing options...
IGNITER Posted May 8, 2014 Author Share Posted May 8, 2014 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> Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 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 More sharing options...
IGNITER Posted May 9, 2014 Author Share Posted May 9, 2014 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now