Keyword

text resize not working

  • Udi Tiran
  • Udi  Tiran's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #115793 by Udi Tiran
text resize not working was created by Udi Tiran
hi
i have created a sub template called default (templates/mytemplate/html/com_k2/default/)
in the parent category, under "item view options" i set "font resizer" to "show"
also, in the K2 main options, i have disabling the default k2 css.

the text resizer does not work.

however, if i enable the default k2 css the resizer works.

the website is www.dpemed.com
example item page: www.dpemed.com/products/dynamic-stair-trainer-dst.html

Any help will be greatly appreciated.

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #115794 by Yiota
Replied by Yiota on topic Re: text resize not working
Since you don't use the k2.css, you will have to embed this

/* --- CSS added with Javascript --- */
.smallerFontSize {font-size:100%;line-height:inherit;}
.largerFontSize {font-size:150%;line-height:140%;}

to your template css. It is the one that provides the sizes to the classes changing when the font-resize is clicked.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum