Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/01/2015, 13:01
Sonee22
 
Fecha de Ingreso: enero-2015
Mensajes: 13
Antigüedad: 9 años, 4 meses
Puntos: 1
Respuesta: Eliminar pestaña menú de navegación

Cita:
Iniciado por memoadian Ver Mensaje
Tengo la sensación que estás trabajando con algún CMS

Por lo que tus páginas se generan del lado del panel de administración, o backend.

checa este pedazo de código de plantilla

Código Code:
Ver original
  1. {% if Categories_in_Nav_Display contains 'ain' %}
  2.     {% for page in pages.all %}
  3.         {% if page.name contains '-subnav-' or page.name contains '-sidebar-' %}
  4.             {% if page.full_url contains 'product' or page.full_url contains 'category' or page.full_url contains 'artist' %}
  5.                 <li class="block current-page">
  6.             {% else %}
  7.                 <li class="block">{% endif %}<a href="{{ page.url }}"><span>{{ page.name | remove: '-sidebar-' | remove: '-subnav-' }}</span></a></li>
  8.             {% endif %}
  9.     {% endfor %}
  10.     {{ Alternate_Category_Links }}
  11. {% endif %}

tienes que buscar lo que está generando tus menus, en el panel. Si nos dices que CMS usas (prestashop, magento, oscommerce, etc.) mejor.

Hola!

Muchas gracias por responder. Estoy usando bigcartel con una plantilla de themefiend.
Según la página de ayuda que ofrece Themefiend dice esto, que es lo que pegué en el primer post. El problema es que en mi "layout no está tal cual lo ponen ellos":

To remove a page link that doesn't have a default control or configuration, you'll need to search in your 'Layout' edit page for the name of that link. However, the name of the link may appear in several parts throughout the 'Layout' edit page, requiring you to locate a specific instance of that text (which contains the code for the link).

A common link that you might be trying to remove is the 'Shop' link. In most themes, by searching in the 'Layout' edit page, you'll discover the following code:

<li><a href="/products">Shop</a></li>

This code represents the 'Shop' link in the navigation. To remove the link, simply delete that line of code.


Muchas gracias

Última edición por Sonee22; 21/01/2015 a las 15:36