Jump to content

How to edit my top bar


Recommended Posts

Hi! I'm newbie here at Prestashop and have som problem with the editing of my page. I can't really figure out how to edit the top bar and would really appreciate some help! I would like to insert some text and visa and mastercardpics to the left of "kontakta oss" and logga in" on the top of my page: http://strumpbudet.se

Can someone please help me?

Thank you!

 

Link to comment
Share on other sites

yes, but under blockuserinfo.tpl i have Nav.tpl maybe in there? I have look there too but i cant find "contact us" there.

I want to the grey field left on "kontakta oss" . I cant see any modules there. hmmm

 

Thanks for your help Darshan i appreciates it =)

Link to comment
Share on other sites

What should i looking for? 

 

<!-- Block languages module -->
{if count($languages) > 1}
<div id="languages-block-top" class="languages-block">
{foreach from=$languages key=k item=language name="languages"}
{if $language.iso_code == $lang_iso}
<div class="current">
<span>{$language.name|regex_replace:"/\s\(.*\)$/":""}</span>
</div>
{/if}
{/foreach}
<ul id="first-languages" class="languages-block_ul toogle_content">
{foreach from=$languages key=k item=language name="languages"}
<li {if $language.iso_code == $lang_iso}class="selected"{/if}>
{if $language.iso_code != $lang_iso}
{assign var=indice_lang value=$language.id_lang}
{if isset($lang_rewrite_urls.$indice_lang)}
<a href="{$lang_rewrite_urls.$indice_lang|escape:'html':'UTF-8'}" title="{$language.name}">
{else}
<a href="{$link->getLanguageLink($language.id_lang)|escape:'html':'UTF-8'}" title="{$language.name}">
{/if}
{/if}
<span>{$language.name|regex_replace:"/\s\(.*\)$/":""}</span>
{if $language.iso_code != $lang_iso}
</a>
{/if}
</li>
{/foreach}
</ul>
</div>
{/if}
 
Thanks again =)
Link to comment
Share on other sites

aha i found it under blockcontactinfo.tpl thanks Darshan. Do you know how to put an image there? i have my number there now if you see? Now i want the visa and mastercard log.

 

 
 
<!-- MODULE Block contact infos -->
<section id="block_contact_infos" class="footer-block col-xs-12 col-sm-4">
<div>
        <h4>{l s='Store Information' mod='blockcontactinfos'}</h4>
        <ul class="toggle-footer">
            {if $blockcontactinfos_company != ''}
            <li>
            <i class="icon-map-marker"></i>{$blockcontactinfos_company|escape:'html':'UTF-8'}{if $blockcontactinfos_address != ''}, {$blockcontactinfos_address|escape:'html':'UTF-8'}{/if}
            </li>
            {/if}
            {if $blockcontactinfos_phone != ''}
            <li>
            <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontactinfos'} 
            <span>{$blockcontactinfos_phone|escape:'html':'UTF-8'}</span>
            </li>
            {/if}
Link to comment
Share on other sites

<section id="block_contact_infos" class="footer-block col-xs-12 col-sm-4">

<div>

        <h4>{l s='Store Information' mod='blockcontactinfos'}</h4>

        <ul class="toggle-footer">

            {if $blockcontactinfos_company != ''}

            <li>

            <i class="icon-map-marker"></i>{$blockcontactinfos_company|escape:'html':'UTF-8'}{if $blockcontactinfos_address != ''}, {$blockcontactinfos_address|escape:'html':'UTF-8'}{/if}

            </li>

            {/if}

            <li><img src="{$imgs_dir}visa.png" alt="Visa" title="Visa"/></li>

            <li><img src="{$imgs_dir}mastercard.png" alt="Mastercard" title="Mastercard"/></li>

            {if $blockcontactinfos_phone != ''}

            <li>

            <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontactinfos'} 

            <span>{$blockcontactinfos_phone|escape:'html':'UTF-8'}</span>

            </li>

            {/if}

 

 

 

 

 

 

 

Before putting this code you must have two images i.e."visa.png"  & "mastercard.png"  in your theme's image directory..

  • Like 1
Link to comment
Share on other sites

Blockcontact.tpl

 

<div id="contact_block" class="block">

<h4 class="title_block">

{l s='Contact Us' mod='blockcontact'}

</h4>

<div class="block_content clearfix">

<p>

{l s='Our support hotline is available 24/7.' mod='blockcontact'}

</p>

{if $telnumber != ''}

<p class="tel">

<span class="label">{l s='Phone:' mod='blockcontact'}</span>{$telnumber|escape:'html':'UTF-8'}

</p>

{/if}

{if $email != ''}

<a href="mailto:{$email|escape:'html':'UTF-8'}" title="{l s='Contact our expert support team!' mod='blockcontact'}">

{l s='Contact our expert support team!' mod='blockcontact'}

</a>

{/if}

</div>

</div>

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