Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

BeetleArt1984

Newbie
  
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

749 profile views

BeetleArt1984's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Вот этот блок .product-item h5, .product-grid h5 { font-weight: 400 !important; margin-top: 0px; margin-bottom: 7px; text-transform: capitalize; color: #444; letter-spacing: 0px; font-size: 18px !important; width: 100%; float: left; text-align: left; clear: both; border: 0px solid red; min-height:60px; } Нужно выставить одинаковую высоту блока Хороший форум сам спрашиваешь, сам и отвечаешь ! ))) Можно закрывать
  2. Ясно , ясно что это стили но там есть сетка товаров, есть название товаров, есть высота картинки, нужно как то фиксированную высоту задать получается ?! Просто в настройках самой темы есть размеры картинок но это не то как я понимаю
  3. Да я знаю, поиском пользовался но это не помогло. Подскажите пожалуйста из за чего это происходит ?!
  4. Нашел: Вот кому надо , это все схоже шаблоны все по сути одинаковые и представление в них тоже ) В файле public_html/catalog/view/javascript/at/custom.js функция $(".show-more").click(function () { if($(".text").hasClass("show-more-height")) { $(this).html('Show Less <i class="fa fa-angle-up"></i>'); } else { $(this).html('Show More <i class="fa fa-angle-down"></i>'); } $(".text").toggleClass("show-more-height"); }); В файле шаблона public_html/catalog/view/theme/glory01/template/product/product.twig слои которые окутывают наше описание <div class="tab-pane active" id="tab-description"> <div class="text show-more-height">{{ description }}</div> <div class="show-more"> Показать еще <i class="fa fa-angle-down"></i></div> </div> В файле стилей описывается все положения градиенты и т.д public_html/catalog/view/theme/glory01/stylesheet #tab-description { position:relative; } #tab-description .text { margin-bottom: 5px; padding: 0 15px; position:relative; display: block; } #tab-description .show-more { position: relative; font-size: 14px; padding-top: 10px; height: 40px; text-align: center; cursor: pointer; width: 200px; margin: 0px auto; text-transform: uppercase; font-weight: 400; } #tab-description .show-more:hover { color: #333; } #tab-description .show-more-height:before{ display: block; content: ""; height: 100px; position: absolute; bottom: 0; width: 100%; left: 0; z-index: 2; background: linear-gradient(rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%,#fff); } #tab-description .show-more-height { height: 100px; overflow:hidden; }
  5. Не могу найти это в шаблонах ....... category.php / product.php не пойму где он Вот он public_html/catalog/view/theme/glory01/template/product product.twig А что вывключить ?
  6. Добрый вечер подскажите пожалуйста как вывести полное товара вместо сокращенного ? Нужно убрать это ссылку, "Показать еще , свернуть " Спасибо !
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.