vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Forcing a Single Font for User Postings (https://vborg.vbsupport.ru/showthread.php?t=96650)

Neutral Singh 09-21-2005 08:40 AM

Forcing a Single Font for User Postings
 
Where can i find an option to enforce a single font of my choice while displaying threads posts irrespective of what font the member had choosen while creating that thread. I could not trace this setting in the Main CSS settings or i must be blind. :surprised:

Here at vb.org, signatures are enforced to display only green color. How is that accomplished without much alteration in code?

kall 09-21-2005 11:19 AM

In postbit, change the <div> around $message to <div class="posttext">

Set up a css style called
Code:

.posttext
{
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

How's that?

Boofo 09-21-2005 11:23 AM

Does this work? Has anyone tested it?

kall 09-21-2005 11:37 AM

Quote:

Originally Posted by Boofo
Does this work? Has anyone tested it?

No, buggerit, it doesn't. Just tried it. :(

It is useful if you want to..say, wrap h3 tags around your posts and not have them distort, but does nothing to help the good (I mean Neutral) Singh. :)


All times are GMT. The time now is 02:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01161 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete