The Metal Militia
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Got a suggestion for the playlist? Add it to the thread in the Music section of the forums.

Huge text issues

2 posters

Go down

Huge text issues Empty Huge text issues

Post  Admin 6/9/2009, 00:51

The default font size for the forums is the largest it can be, I havent found an option yet to change it. After you finish typing out a post and youd like to change the font size highlight your text and click the button with the 2 A's located in the bar above. Normal seems to be the most readable.

~TAoB
Admin
Admin
Admin

Posts : 13
Points : 22
Join date : 2009-05-27

https://themetalmilitia.forumotion.net

Back to top Go down

Huge text issues Empty Re: Huge text issues

Post  solo013 7/11/2009, 20:44

As a temporary fix you can go into the ACP, The General Tab, and click on post settings.

Scroll all the way down and should see a field that says


Maximum font size per post:
Maximum font size allowed in a post. Set to 0 for unlimited font size.


it's initially set at 200% I believe. If you change this it should limit all the text to a smaller font size.

I'm going to look at all of the settings on my boards now. If I can find out exactly to fix your problem I'll post back here in a few minutes and let ya know.
solo013
solo013
Soldier

Posts : 34
Points : 36
Join date : 2009-06-12
Age : 43
Location : NC

Back to top Go down

Huge text issues Empty Re: Huge text issues

Post  solo013 7/11/2009, 21:51

Your problem lies within the Forums template. Since it's not a standard theme I can't tell you exactly what it will say, but...

Go to the Styles tab.

Click Templates under Style Components.

Find the template you are using and click edit under options.

Look for a file in the pull down menu called posting_buttons.html (This may or may not be there because every template is different.) It may also be in overall_header.html

If it's there go through the file and find the font section. You can put it in a text editor and search for Huge most likely.

This is not the standard editor for phpbb3. In a normal one it uses a pull down select box which uses the selected="selected" attribute to set the default option. However this one uses javascript so what I've found looks like this...



Code:

<div style="visibility: hidden;" class="select" id="px">
  <button style="font-size: 7px;" onclick=
  "bbfontstyle('[size=7]', '[/size]');selectWysiwyg(this, 'px');return false;"
  onmouseover="this.className='selectHover';" onmouseout=
  "this.className='';">Tiny</button><br />
  <button style="font-size: 9px;" onclick=
  "bbfontstyle('[size=9]', '[/size]');selectWysiwyg(this, 'px');return false;"
  onmouseover="this.className='selectHover';" onmouseout=
  "this.className='';">Small</button><br />
  <button style="font-size: 12px;" onclick=
  "bbfontstyle('[size=12]', '[/size]');selectWysiwyg(this, 'px');return false;"
  onmouseover="this.className='selectHover';" onmouseout=
  "this.className='';">Normal</button><br />
  <button style="font-size: 18px;" onclick=
  "bbfontstyle('[size=18]', '[/size]');selectWysiwyg(this, 'px');return false;"
  onmouseover="this.className='selectHover';" onmouseout=
  "this.className='';">Large</button><br />
  <button style="font-size: 24px;" onclick=
  "bbfontstyle('[size=24]', '[/size]');selectWysiwyg(this, 'px');return false;"
  onmouseover="this.className='selectHover';" onmouseout=
  "this.className='';">Huge</button><br />

</div>


and This


Code:
<div style="visibility: hidden;" class="select" id="wpx">
  <button style="font-size: 7px;" id=
  "text_editor_cmd_constructBBcode_select_size_7">Tiny</button><br />

  <button style="font-size: 9px;" id=
  "text_editor_cmd_constructBBcode_select_size_9">Small</button><br />

  <button style="font-size: 12px;" id=
  "text_editor_cmd_constructBBcode_select_size_12">Normal</button><br />

  <button style="font-size: 18px;" id=
  "text_editor_cmd_constructBBcode_select_size_18">Large</button><br />

  <button style="font-size: 24px;" id=
  "text_editor_cmd_constructBBcode_select_size_24">Huge</button>
</div>


After looking at the javascript I believe it should be fixable by replacing the second set of code with


Code:
<div style="visibility: hidden;" class="select" id="wpx">
  <button style="font-size: 7px;" id=
  "text_editor_cmd_constructBBcode_select_size_7">Tiny</button><br />

  <button style="font-size: 9px;" id=
  "text_editor_cmd_constructBBcode_select_size_9">Small</button><br />

  <button style="font-size: 18px;" id=
  "text_editor_cmd_constructBBcode_select_size_18">Large</button><br />

  <button style="font-size: 24px;" id=
  "text_editor_cmd_constructBBcode_select_size_24">Huge</button>

  <button style="font-size: 12px;" id=
  "text_editor_cmd_constructBBcode_select_size_12">Normal</button><br />
</div>



If that doesn't work try moving the normal section of the first section of code to the end behind huge as well.
The problem is the javascript is selecting the last option. I've not dealt with javascript in a long time so if that doesn't fix it I'd have to be able to test a few tweaks myself or try to find someone a lot better with js than me as I am a php scripter.
solo013
solo013
Soldier

Posts : 34
Points : 36
Join date : 2009-06-12
Age : 43
Location : NC

Back to top Go down

Huge text issues Empty Re: Huge text issues

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum