Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Add a css class
(1 viewing) (1) Guest
component
Go to bottomPage: 1
TOPIC: Add a css class
#4793
Add a css class 14 Years, 10 Months ago Karma: 0
Hi all,

Nice to use your component
I would like to add a css class for arianwer fields...
>>> to use with arabic caracters (which are a lot smaller than latin caracters)

Do you think it's possible? Or maybe install a wysiwyg in the answers fields?

thx in advance for any answer
Last Edit: 2010/06/11 14:46 By caloche.
The administrator has disabled public write access.
 
#4805
Re:Add a css class 14 Years, 10 Months ago Karma: 763
Hello,

You can try to add the following CSS rule to template CSS file:

Code:


#tblQueContainer {
  font-size: 20px;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#4808
Re:Add a css class 14 Years, 10 Months ago Karma: 0
Hi,
thx for your quick answer !
Actually I changed the arianswer class this way :

.ariAnswer
{
vertical-align: middle;
color:black;
font-weight: bold;
font-size: 25px;
}

but still, the problem is that the class is applied to all my anrianswer(s)
>>>perfect when I put arabic caracters, but really too big when I put occidental letters (and I need to use both -arabic & occidental)
The ideal solution could be to be able to apply a different css style from the backend.

Hope I'm clear enough?
I presume the solution is becoming to be an important hack...that could be integrated in the future in the pack? who knows... this arabic-caracters-size problem is very common for webmasters dealing with arabic fonts

thx
The administrator has disabled public write access.
 
#4819
Re:Add a css class 14 Years, 10 Months ago Karma: 763
Hello,

If you want to apply different CSS styles for different quizzes, you can create necessary CSS templates in 'Components -> ARI Quiz -> Templates' section on the component backend and then assign necessary CSS template with quizzes in quiz settings page using 'Template' parameter.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#4823
Re:Add a css class 14 Years, 10 Months ago Karma: 0
Yes..see what you mean, and ... wow your component is great
But, sorry to insist, but my need is a little bit more specific : I'd like to attribute different template class (especially arianswer class) INSIDE a quiz - not for the whole of it-.

Question 1 >> standard template
Question 2 >> specific template (made for arabic letters >>> arianswer a lot bigger)
Question 3 >> back to standard template

your answer helped me a lot to explain my problem in other words : It is exactly what I'd like to do, but calling any template I want from the questions of my quiz (any quiz'question would have an option : what template to use).

thank you again for your attention
The administrator has disabled public write access.
 
#4827
Re:Add a css class 14 Years, 10 Months ago Karma: 763
You can submit feature request here and we'll think about implementation this feature in a future release.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1