remove contact us link on top of the menu

Started by chousg, July 09, 2014, 06:28:39 AM

Previous topic - Next topic

chousg

sir/madam

I like to remove this item "contact" from the menu item.
I follow this instruction (previous posting) and locate this content.tpl, however, the section is missing from my file:

/public_html/storefront/view/default/template/blocks/content.tpl
and remove line
Code: [Select]
<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>

Below is the content of my file, appreciate your help:
<div class="s_block">
   <div class="block_tl">
      <div class="block_tr">
         <div class="block_tc"><img src="<?php echo $this->templateResource('/image/information.png'); ?>" alt="" /><?php echo $heading_title; ?></div>
      </div>
   </div>
    <div class="block_cl">
       <div class="block_cr">
           <div class="block_cc">
               <div class="information"><ul>
                   <?php foreach ($contents as $content) { ?>
                   <li><a href="<?php echo $content['href']; ?>"><?php echo $content['title']; ?></a></li>
                   <?php } ?>
                   
                   
                   <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
                </ul></div>
            </div>
        </div>
    </div>
   <div class="block_bl">
      <div class="block_br">
         <div class="block_bc">&nbsp;</div>
      </div>
   </div>
</div>


abantecart

Storefront menu is managed in admin. No need to look at the code

Basara

Quote from: chousg on July 09, 2014, 06:28:39 AM
I like to remove this item "contact" from the menu item.
I follow this instruction (previous posting) and locate this content.tpl, however, the section is missing from my file:

Hello. What template do you have and where you want to remove contact us (header, footer, menu)?

Forum Rules Code of conduct
AbanteCart.com 2010 -