Home arrow Ondersteuning arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
[done] Fixing array headings font sizes (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: [done] Fixing array headings font sizes
#19648
jeygifford (User)
Fresh Lemon
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
[done] Fixing array headings font sizes 1 Month, 2 Weeks ago Karma: 0  
Just wanted to post a quick solution to some who may be having the problem of the answer headings on their arrays having a hardcoded
Code:

font size='1'
.

1) Backup the original file qanda.php
2) Edit qanda.php line (3129 in 1.71+(5599)) that reads:
Code:

$answer .= "ttttt<th class='array1' width='$cellwidth%'><font size='1'>".$ld."</font></th>n";


3) Remove the font size tag so that your code reads:
Code:

$answer .= "ttttt<th class='array1' width='$cellwidth%'>".$ld."</font></th>n";


4) Upload qanda.php

Your array heading will now be controlled as the survey-question-answer class in your CSS file.

[admin, sorry if this is posted in the wrong place, would you mind forwarding to the correct area?]
 
Logged Logged  
 
Last Edit: 2008/10/03 22:55 By ITEd.
  The administrator has disabled public write access.
#19649
ITEd (Moderator)
LimeSurvey Team
Posts: 352
graphgraph
User Offline Click here to see the profile of this user
Re:Fixing array headings font sizes 1 Month, 2 Weeks ago Karma: 8  
Thanks for sharing your solution. I'm sure it will be welcome.

I would recommend that the closing font tag should also be removed.

Could you please report the issue and your solution in the bug tracker so that the fix can be made for everybody?

Regards.
 
Logged Logged  
 
Last Edit: 2008/10/03 22:51 By ITEd.
  The administrator has disabled public write access.
#19650
jeygifford (User)
Fresh Lemon
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Fixing array headings font sizes 1 Month, 2 Weeks ago Karma: 0  
OK. I've added it.
 
Logged Logged  
  The administrator has disabled public write access.
#19709
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:Fixing array headings font sizes 1 Month, 2 Weeks ago Karma: 25  
Thanks for sharing your solution with us!
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top