-
AuthorPosts
-
petrahk Friend
petrahk
- Join date:
- March 2009
- Posts:
- 145
- Downloads:
- 8
- Uploads:
- 10
- Thanks:
- 38
- Thanked:
- 3 times in 1 posts
April 5, 2011 at 4:55 am #162376Hi,
I have to issues with poll:
a) I woudl like to change the font in the submit button. Which file should I change?
b) I would like to translate the poll results to my language (hits, percent, graph), but I did not find the right file…Thank you for your advices…
Petraaman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 5, 2011 at 6:05 am #384874a) You can change this::
form.poll .button {template.css (line 538)
margin-right: 5px;
}to
form.poll .button {template.css (line 538)
font-family: arial,helvetica;
margin-right: 5px;
}and change font-family accordingly
Css file reference::: plugins/system/jat3/base-themes/default/css/template.css1 user says Thank You to aman204 for this useful post
petrahk Friendpetrahk
- Join date:
- March 2009
- Posts:
- 145
- Downloads:
- 8
- Uploads:
- 10
- Thanks:
- 38
- Thanked:
- 3 times in 1 posts
April 5, 2011 at 6:10 am #384875Thank you AMAN.
That is for font. And translation?
Many thanx!aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 5, 2011 at 6:20 am #384877<em>@petrahk 232284 wrote:</em><blockquote>Thank you AMAN.
That is for font. And translation?
Many thanx!</blockquote>1) For translation, You can go to this file::
plugins/system/jat3/base-themes/default/html/com_poll/poll/default_graph.php
and then, change this::
<th id=”itema” class=”td_1″><?php echo JText::_( ‘Hits’ ); ?></th>
<th id=”itemb” class=”td_2″><?php echo JText::_( ‘Percent’ ); ?></th>
<th id=”itemc” class=”td_3″><?php echo JText::_( ‘Graph’ ); ?></th>to
<th id=”itema” class=”td_1″><?php echo JText::_( ‘HITS’ ); ?></th>
<th id=”itemb” class=”td_2″><?php echo JText::_( ‘PERCENT’ ); ?></th>
<th id=”itemc” class=”td_3″><?php echo JText::_( ‘GRAPH’ ); ?></th>2) Add this at end of language file (en-GB.ini) ::
<blockquote>HITS= Hits
PERCENT= Percent
GRAPH=Graph</blockquote>and update the text after = sign accordingly
1 user says Thank You to aman204 for this useful post
petrahk Friendpetrahk
- Join date:
- March 2009
- Posts:
- 145
- Downloads:
- 8
- Uploads:
- 10
- Thanks:
- 38
- Thanked:
- 3 times in 1 posts
April 5, 2011 at 6:39 am #384880The translation works fine, the button is still the same. Cache is cleared…
ANy idea?aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 5, 2011 at 6:42 am #384882<em>@petrahk 232290 wrote:</em><blockquote>The translation works fine, the button is still the same. Cache is cleared…
ANy idea?</blockquote>Can you provide a link to your site and also, to confirm, Are you looking forward to change font-family as suggested earlier or something else ?
petrahk Friendpetrahk
- Join date:
- March 2009
- Posts:
- 145
- Downloads:
- 8
- Uploads:
- 10
- Thanks:
- 38
- Thanked:
- 3 times in 1 posts
April 5, 2011 at 6:47 am #384883URL:http://www.gynweb.cz/gynekologie
font change to: calibri or arial (poll is a module on left)
Many thanx!!!!aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 5, 2011 at 6:53 am #384884Please ensure that you only have this::
form.poll .button {
font-family: arial,helvetica;
margin-right: 5px;
}and not
form.poll .button {template.css (line 538)
font-family: arial,helvetica;
margin-right: 5px;
}as I am unable to see whole reference not coming into effect
1 user says Thank You to aman204 for this useful post
petrahk Friendpetrahk
- Join date:
- March 2009
- Posts:
- 145
- Downloads:
- 8
- Uploads:
- 10
- Thanks:
- 38
- Thanked:
- 3 times in 1 posts
April 5, 2011 at 6:58 am #384887<em>@aman204 232294 wrote:</em><blockquote>Please ensure that you only have this::
form.poll .button {
font-family: arial,helvetica;
margin-right: 5px;
}and not
form.poll .button {template.css (line 538)
font-family: arial,helvetica;
margin-right: 5px;
}and I am unable to see whole reference not coming into effect</blockquote>
oh yes…
I had
[PHP]form.poll .button
font-family: calibri;
margin-right: 5px;
}[/PHP]
instead of
[PHP]form.poll .button {
font-family: calibri;
margin-right: 5px;
}[/PHP]
Many thanx, AMAN! 🙂 -
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by petrahk 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum