1
irmtfan
how to disable .itemText:first-letter for a non boundry language ( persian)
  • 2006/12/19 7:50

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


in general i want to disable a css tag.

for example i have this code in style.css

.itemText:first-letter {font-size: 133%; font-weight: bold;}

so to disable it i add this after the above code
.itemText:first-letter {font-size: 100%; font-weight: normal;}

it works but still i have a break between the first letter and other letters in persian.

in persian all letters must stick to each others without any break.
it likes علی and not ع‌لی

maybe im wrong in "disable a css code"
is there any other way?
any help would be appreciated

pay attention that i talk about break and not space.

2
ianez
Re: how to disable .itemText:first-letter for a non boundry language ( persian)
  • 2006/12/19 8:23

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


if you don't need the class why still use it?
comment the two line about .itemtext:first-letter and you're ok

Ian

3
irmtfan
Re: how to disable .itemText:first-letter for a non boundry language ( persian)
  • 2006/12/19 8:43

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


because i don't want to touch style.css in themes one by one
i add a generic fa.css for whole site.
also i want it remains in english!

Login

Who's Online

212 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits