Перейти к содержимому


Фотография
- - - - -

Teaser Box Effect only working for preset type "Phone"



Сообщений в теме: 3

#1 Stef

Stef

Отправлено 22 February 2016 - 13:01

Hi there,

 

I would like to keep the layout and design for my shop similar to the current JBZoo phone shop template.

 

When I copy the type "Phone" and create a new item (without even changing any elements), the teaser effect where the item "zooms in" at mouse-over does not work anymore.

 

I have attached a screenshot to make it easier to understand, this is how I would like my new tems/types to look.

 

What is the problem?

 

I am looking forward to hearing how I can fix this.

 

Thank you! 

Прикрепленные изображения

  • effect.jpg

  • 0

#2 SmetDenis

SmetDenis

Отправлено 22 February 2016 - 16:36

Hi Stef,

Item type "Phone" uses styles that are here
media\zoo\applications\jbuniversal\templates\uikit\assets\less\demo.less

8l4d_200x0.png

zotp_200x0.png

As you can see, demo site uses parent classes by alias of catalog and item.

Styles for hover effect are here
evjs_200x0.png

xprd_200x0.png

You can disable compressing and merging CSS files to easy develop.
h086_200x0.png
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#3 Stef

Stef

Отправлено 23 February 2016 - 12:59

Thanks a lot for your reply!

 

So I basically copy the demo.less and create the same ____.less one for my new type? Where do I need to reference this new ____.less file in my new type files for it to have an effect?

 

Or can I just add the classes I need for my new type in the demo.less ?

 

Thanks so much for your help!

 

All the best!


  • 0

#4 Stef

Stef

Отправлено 23 February 2016 - 14:08   Лучший Ответ

Solved, found this article http://jbzoo.ru/docs...ize-like-demo-2


  • 0




Click to return to top of page in style!