Compojoom - components for Joomla

Change write comment style PDF Print E-mail
Sunday, 10 February 2008 11:08

The write comment style (or read on) is composed with a css "write_comment" class (from the joomlacomment template) and the standard "readon" (from your joomla template).

To change the style... 

The write comment style (or read on) is composed with a css "write_comment" class (from the joomlacomment template) and the standard "readon" (from your joomla template).

To change the style you just have to use the following form of css instruction :

  • .write_comment { ... }

  • .write_comment a.readon { ... }

Add those lines in the joomlacomment template css file (customize your template ) OR directly in your joomla template css file. It should be better to add them after the existing "readon" lines.

Anothers 2 possibilities (first is the best) : 


  • change the text of the readon in the joomlacomment language file (components/ com_comment/ joscomment/ language). The text is
    • _JOOMLACOMMENT_COMMENTS_0    for Read on when 0 coments
    • _JOOMLACOMMENT_COMMENTS_1    for Read on when only one comment
    • _JOOMLACOMMENT_COMMENTS_2_4 for Read on when 2 to 4 comments
    • _JOOMLACOMMENT_COMMENTS_MORE  for Read on when more than 4 comments
    • !! so much text can seems foolish for languages as english, french,.... but is important for others languages as romanian,... Word is not the same, depending on number of the object.

  

Last Updated ( Thursday, 03 April 2008 00:16 )
 

Our Team

DanielDimitrov
Daniel Dimitrov
Support
&
Development
Cédric Walter
Cédric Walter
Development
AjayLulia
Ajay Lulia
Support
&
Development
Alain
Alain Georgette
Ex.Support
&
Development

Please donate!


Download !joomlacomment

Download latest version of Joomlacomment

Download Joomla

Download lates Joomla
You are here  : Home FAQ Change write comment style