Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Built-in Option Types: Typography

Open themesmeta opened this issue 12 years ago • 3 comments

Hi there, Is there any way to add more options to Typography like line-height and letter-spacing ? Any helps would be appreciated. Thanks so much !!

themesmeta avatar Oct 15 '14 12:10 themesmeta

Hi,

you can't add more options to the Typography option type.

You can:

  1. Create a new option type
  2. Use option type multi

ghost avatar Oct 15 '14 12:10 ghost

Hi @moldcraft, Thanks for your response. I'm trying to create a new option type (just want to clone Typography and adding two select boxes), but I don't know where to put the code in. Any helps would be appreciated. Thanks in advanced !!

themesmeta avatar Oct 17 '14 12:10 themesmeta

Put it in the framework-customizations/theme/includes/ directory.

ghost avatar Oct 17 '14 12:10 ghost