@Bearax

Почему не видно всех пунктов меню?

Здравствуйте. Добавляю в это меню пункты, но на сайте не добавляются. В чем может быть проблема? Сайт на OPENCART.
<div class="header-bottom-block">
    <div class="container">
      {% if header_bottom %}
        <div class="header-bottom col-sm-3">
        {{ header_bottom }}
        </div>
       {% endif %}
            <div id="tttoplink_block">
                <label class="menu-button"><i class="fa fa-bars" aria-hidden="true"></i></label>
				
              <ul id="tt_toplink" class="block_content">
                <li class="tttoplink tthome"><a title="home" href="/index.php?route=product/category&path=94">Каталог</a></li>
				<li class="tttoplink"><a href="{{ manufacturer }}">Производители</a></li>
                <li class="tttoplink"><a href="/index.php?route=information/information&information_id=4">О компании</a></li>
                <li class="tttoplink"><a href="/index.php?route=information/information&information_id=6">Доставка и оплата</a></li>
                <li class="tttoplink"><a href="/index.php?route=information/information&information_id=5">Возврат</a></li>
				<li class="tttoplink"><a href="#hepl-form" class="scrollto">Помощь</a></li>
				<li class="tttoplink"><a href="#testimod" id="testimonialbtn">Отзывы</a></li>
                <li class="tttoplink"><a href="{{ contact }}">{{ text_contact }}</a></li>
                {% if blog_enable == true %}
                  <li class="tttoplink"> <a href="{{ all_blogs }}"><span data-hover="{{ text_blog }}">{{ text_blog }}</span></a></li>       
                {% endif %}
              </ul>
            </div>
    </div>
  </div>
</div>
</header>
<script>
    $(document).ready(function(){
        if($(window).width() < 991){
            
            $('#tttoplink_block #tt_toplink li a').click(function(){
                $('#tttoplink_block').removeClass('active');
                $('body').removeClass('top_hover');
                $('#tttoplink_block .menu-button').html('<i class="fa fa-bars" aria-hidden="true"></i>');
            })
            
            $('#tttoplink_block .menu-button').click(function(){
                if($('#tttoplink_block').hasClass('active')){
                    $('#tttoplink_block').removeClass('active');
                    $('#tttoplink_block .menu-button').html('<i class="fa fa-bars" aria-hidden="true"></i>');
                }else{
                    $('#tttoplink_block').addClass('active');
                    $('#tttoplink_block .menu-button').html('<i class="fa fa-times" aria-hidden="true"></i>');
                }
                
                
            })
        }
    })
</script>
<script>
    $(document).ready(function(){
        if($(window).width() > 1000){
            // $('#testimonialbtn').click(function(){
            //     $(document).scrollTop(900);
            //     console.log('200')
            // })
        }
    })
</script>



<div class="header-content-title">
</div>

<script><!--
$(document).ready(function() {
/* ---------------- start Templatetrip link more menu ----------------------*/
	var max_link = 10;
	var moretext= "{{ text_more }}";
	var items = $('#tttoplink_block ul li');
	var surplus = items.slice(max_link, items.length);
	/*surplus.wrapAll('<li class="more_menu tttoplink"><ul class="top-link clearfix">');
	$('.more_menu').prepend('<a href="#" class="level-top">'+moretext+'</a>');
	$('.more_menu').mouseover(function(){
	$(this).children('ul').addClass('shown-link');
	})
	$('.more_menu').mouseout(function(){
	$(this).children('ul').removeClass('shown-link');
	});*/
	
	jQuery("body #tttoplink_block ul.block_content li a").hover(function() {
        jQuery("body").addClass("top_hover");
    }, function() {
        jQuery("body").removeClass("top_hover");
    });

/* ---------------- End Templatetrip link more menu ----------------------*/
});
--></script>
  • Вопрос задан
  • 77 просмотров
Пригласить эксперта
Ответы на вопрос 1
@Rerurk
Потому что по неким условиям им присваивается некий класс , видимо из css
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы