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


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

Changing Class Of Sub Heading


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

#1 renee

renee

Отправлено 06 August 2013 - 19:20

I've styled my ZOO Apps to have the same custom class for sub-headings. In YooTheme templates there is a custom css file that can load changes to classes. This workls well with ZOO Items too.

 

When I Look in Firebug at the 'Item' 'Full' subheading for a product I see this code:

<h2 class="index-0 element-0bcb4fd0-115c-42f6-9aa9-58711493fc34 element-text first last"> 
Blah, Blah, Blah...</h2>

It isn't clear what class I need to modify.

 

I would like to either declare the sub-headings as a different tag or change the style of the existing tag.

 

Please advise, thanks, Toby


  • 0

#2 renee

renee

Отправлено 07 August 2013 - 12:27

Come on guys styling output is essential for a webpage...... this must be an easy answer for you......


  • 0

#3 SmetDenis

SmetDenis

Отправлено 08 August 2013 - 11:51

This classes are added with position styles in item template.
It don't add styles fo your website and only for simple customization of the template.

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



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


#4 renee

renee

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

I understand this, the point I'm making is that the subtitle is declared with an H2 tag and no option of changing that.

 

So unless I have a sitewide change to my H2 tags I cannot style the subtitle in JBZOO.

 

In ZOO the subtitles have their own classes - allowing for eazsy styling.

 

I have worked around this by not having a subtitle and styling the text instead. but this is clearly less than ideal.

 

Easier styling of elements is surely ESSENTIAL in an update.


  • 0

#5 SmetDenis

SmetDenis

Отправлено 09 August 2013 - 02:15

what template are you use?
how subtitle position is defined?
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



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


#6 renee

renee

Отправлено 09 August 2013 - 15:08

I use revista - but that does not declare classes for ZOO items - that happens in ZOO. If I blog in ZOO I can amend the subtitle class by re-defining it in the Revista Custom css file.

 

I can do this for the item-title class used in YBZOO Product Teaser posiiton to change the size from the standard H4 size to 20px.

 

I can do this because the item-title class is unique to YBZOO - it isn't used elsewhere on my site.

 

But obviously the H2 tag, as used in item subheadings, is used throughout my site.


  • 0

#7 SmetDenis

SmetDenis

Отправлено 11 August 2013 - 01:02

Sorry, but I dont understand you.

You can not change the CSS style or do not know how to change the tag and class in the template?
I'm not familiar with your template "revista".
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



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





Click to return to top of page in style!