If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Poll - How to Change Font Size  XML
Forum Index » Support Forum
Author Message
Anonymous



I've done everything possible to change the 8 point font to something larger, but I can't do it. Where is this attribute hidden? I've even used a program to change every template and misc file to 14 point font, but it still didn't change it!

Does anyone know how I can change this font size? You can see my polls here:

http://jcsm.org/denom/
http://jcsm.org/salvation/

Thanks in advance.

Jason
Anonymous



: friendly bump :
Anonymous



: friendly bump2 :

Does anyone know the answer to this one?

J
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

tried changing it in the templates or the stylesheet?

templates are in a directory called... templates!

- Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



I've changed everything I could change. I know where templates are located. I do not see any stylesheet with the advanced poll.

Can anyone else help? It's in 8 point font and I need to make it larger.

Jay
Anonymous



The problem is that

size="1"


is hardcoded in the template. Changing the style sheet will not override that.

Look at

display_foot.html
display_head.html
display_loop.html

and either eliminate it so the style sheet will take precedence or change it to a 2 or 3.

Look for the same problem in the results pages

result_foot.html - occurs 3 times
result_head.html
result_loop.html - occurs 2 times

ALWAYS save your files before making changes so you can reinstate them if there is a problem
Anonymous



I just tried both of your suggestions, but neither worked.

First, I changed all of the font sizes to 4. Next, I just deleted all of those files you mentioned. Nothing helped.

Do you have any more ideas?

Sincerely,
Jay
Anonymous



That should have worked.

You made the changes to those files and uploaded them to your site.? You checked they didn't work then you uploaded the old files?
Anonymous



That should have worked.


Really? Unfortunately, it didn't.

You made the changes to those files and uploaded them to your site.? You checked they didn't work then you uploaded the old files?


Yes. I made the changes to those files, uploaded them, then noticed no changes. Next, I deleted those files altogether and nothing happened as well.

You can see what I mean here: http://jcsm.org/denom/ . Right now, those files don't exist, but the font is VERY small.

Can anyone help with this? It would be nice if a font attribute was present in the control panel. Nonetheless, I'll do whatever it takes to change it. It's hard to believe that anyone can live with such a small font.

Sincerely,
Jay
Anonymous



Those files have to exist in order for the poll to work or even to display. There are several variations of the poll in various sub-directories, each containing the same file name. They are similar, but not all the same. That would make me think that you perhaps didn't upload the file you changed into the right sub-directory, since now you've deleted them and everything still works

Looking at your source code you appear to be using either the default or the plain poll.

The default files would be in Poll\db\templates\default and the plain files in Poll\db\templates\plain. I'm assuming you have the same directory set up on your site. If not, you'll need to find the path to where the files are stored.

Try changing one of the files (I would suggest display_head.html) in default and uploading it to the default sub-directory on your site. Go to the Poll and reload the page to see if it changes. If it doesn't, try doing the same with the file in plain. Upload it to the plain sub-directory, etc.

If that doesn't work, I'm at a loss since I made the same changes on my test poll and the font size changed accordingly
Anonymous



Here is the display_head file in the default directory. It shows font size 4. It's still doing 8 point font, though.

Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline



change that to this maybe...



notice the subtle difference!!!

- Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Ok, that has been changed. The font on the page still hasn't changed, though.

Jay
Anonymous



If you view the source of the page, you can see this:


However, that line isn't in any files in that directory, so they cannot be changed.

Does anyone know how I can change the font size?

Jay
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Anonymous wrote:If you view the source of the page, you can see this:


However, that line isn't in any files in that directory, so they cannot be changed.

Does anyone know how I can change the font size?

Jay


ever thought of this...


- Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum