aid-a Posted June 12, 2014 Share Posted June 12, 2014 Hello,I'm completely new to prestashop and html, so I tried to search for tutorials how to center logo and resize it to become bigger.But the main menu and cart moved completely (shown in images).I'd like to have some help and get the code to get this result:1) how to make the main menu bar back to "normal";2) how to center logo and what dimensions it should have (above the main menu bar);3) how to move the search bar down the logo and main menu bar on the right.Maybe I placed back this code in a wrong position in header.tpl menu? <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>Now the part of my header.tpl looks like this:<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">{if !$content_only}{if isset($restricted_country_mode) && $restricted_country_mode}<div id="restricted-country"><p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p></div>{/if}<div id="page"><div class="header-container"><header id="header"><div class="banner"><div class="container"><div class="row">{hook h="displayBanner"}</div></div></div><div class="nav"><div class="container"><div class="row"><nav>{hook h="displayNav"}</nav></div></div></div><div><div class="container"><div class="row"> {if isset($HOOK_TOP)}{$HOOK_TOP}{/if}</div></div></div></header></div> <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="columns-container"><div id="columns" class="container">{if $page_name !='index' && $page_name !='pagenotfound'}{include file="$tpl_dir./breadcrumb.tpl"}{/if}<div class="row"><div id="top_column" class="center_column col-xs-12 col-sm-12">{hook h="displayTopColumn"}</div></div><div class="row">{if isset($left_column_size) && !empty($left_column_size)}<div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">{$HOOK_LEFT_COLUMN}</div>{/if}<div id="center_column" class="center_column col-xs-12 col-sm-{12 - $left_column_size - $right_column_size}">{/if}As I understand absolutely nothing in coding, I'd like to have great explanations, please:)Thanks a lot! Link to comment Share on other sites More sharing options...
vekia Posted June 13, 2014 Share Posted June 13, 2014 can you share url to your shop? it will be much easier to say what's going on there with possibility to inspect it Link to comment Share on other sites More sharing options...
aid-a Posted June 15, 2014 Author Share Posted June 15, 2014 (edited) Currently the shop is not yet active to public, how could I show it to you without others to see? I use Maintenance on tool and only several IP's can access to it. Edited June 15, 2014 by Indecori (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts