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


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

Image Size


Лучший Ответ SmetDenis , 24 August 2013 - 03:11

Show me the results that you are having.
Did you change the HTML of button?
Are you rename the class names that do not conflict with JBZoo? For example class "btn" Перейти к сообщению


  • Закрытая тема Тема закрыта
Сообщений в теме: 27

#21 P.K

P.K

Отправлено 13 August 2013 - 08:20

Hi

I have tried to add this syle to the favorite button

http://addcss.com/fl...ons-with-icons/

 

But i am not able to do this. Seems like some ajax functionality is posing some problems. Please guide what could be done

I did-

I added the css of buttons in jbzoo.css

Then in the elements in jbfavorite i changed the div class to btn  btn--icon  btn--favorite

from

wrapper-jbfavorite

 

 

This gave me a combined favorite add to favorite and remove button

 

please help


  • 0

#22 SmetDenis

SmetDenis

Отправлено 18 August 2013 - 11:05


Overload JBZoo styles on their styles through rules CSS.
Or change \media\zoo\applications\jbuniversal\assets\css\jbzoo.css

Please do not remove the standard HTML-classes of JBZoo, they need to work properly JavaScript.
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



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


#23 P.K

P.K

Отправлено 18 August 2013 - 19:50

Hi

I am not able to understand the explanation.

If i am inserting these classes to media\zoo\applications\jbuniversal\elements\jbfavorite\tmpl\jbfavorite.php

this is not working. How to i modify jbzoo.css so as to make it work?

 

http://addcss.com/fl...ons-with-icons/

 

Thanks


  • 0

#24 SmetDenis

SmetDenis

Отправлено 18 August 2013 - 23:04

Find in jbzoo.css this styles
20130819-61m-270kb_200x0.jpg

And replaсe it to your example from addcss.com (at one's own risk)
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



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


#25 P.K

P.K

Отправлено 21 August 2013 - 18:15

The problem is there are so many css classes in the design i showed to you 

http://addcss.com/fl...ons-with-icons/

 

But there are only 2 classes in jbzoo fav css

If i try to add the css code anywhere else in the css file and change the classes in the html file then when i click the button the buttons doesnt work properly. how should i proceed to change the code with so many classes?

 

thanks for your support


  • 0

#26 SmetDenis

SmetDenis

Отправлено 21 August 2013 - 22:42

If you want to change the layout of html, then look to this file (for favorite buttons)

media\zoo\applications\jbuniversal\elements\jbfavorite\tmpl\jbfavorite.php

 

But all changes in templates on your own risk.

JavaScript don't be work without some HTML-classes, because it can't find buttons (or other interactive elements on page) and attach browser event.

 

PS Are you know well CSS + HTML?


  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



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


#27 P.K

P.K

Отправлено 23 August 2013 - 07:15

Hi

Yes i am known with css and html. But i am facing slight functionality problems on intergrating it. I am not able to achieve the Remove and Favorite buttons using it.

http://addcss.com/fl...ons-with-icons/

 

Thanks


  • 0

#28 SmetDenis

SmetDenis

Отправлено 24 August 2013 - 03:11   Лучший Ответ

Show me the results that you are having.
Did you change the HTML of button?
Are you rename the class names that do not conflict with JBZoo? For example class "btn"
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



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





Click to return to top of page in style!