Jump to content

ps_contactinfo edit


ComGrafPL

Recommended Posts

Hello.

 

Can someone tell me how to edit this: I want to get rid of "info_box welcome" and place phone number box with icon.

What code i should add/ edit?

 

Cheers


 

Quote

<div class="contact-link">
      <div class="info_box welcome">{l s='Promotions' d='Shop.Theme.Global'}</div>
    {if $contact_infos.phone}
    <div class="info_box">
      {* [1][/1] is for a HTML tag. *}
      {l
        s='Call us : [1]%phone%[/1]'
        sprintf=[
          '[1]' => '<span>',
          '[/1]' => '</span>',
          '%phone%' => $contact_infos.phone
        ]
        d='Shop.Theme.Global'
     }
     </div>
     {/if}
     {if $contact_infos.fax}
        <div class="info_box">
            {l
            s='fax : [1]%fax%[/1]'
            sprintf=[
            '[1]' => '<span>',
            '[/1]' => '</span>',
            '%fax%' => $contact_infos.fax
            ]
            d='Shop.Theme.Global'
            }
        </div>
    {/if}
    {if $contact_infos.email}
        <div class="info_box">
            {l s='email :' d='Shop.Theme.Global'}  <a href="mailto:{$contact_infos.email}">{$contact_infos.email}</a>
        </div>
    {else}
      <a href="{$urls.pages.contact}">{l s='Contact us' d='Shop.Theme.Global'}</a>
    {/if}
  </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...