vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Font Size Issue (https://vborg.vbsupport.ru/showthread.php?t=197857)

Bluefin221 12-02-2008 09:08 PM

Font Size Issue
 
I have searched around and tried numerous methods to fix my font size problem on my forum, its currently too small and I would like to change it. I believe its currently 10pt and wish to change it to 12pt.

I'm using the clean blue theme, I have tried to edit the main CSS file with no joy, the following CSS parts, body, page background, first altering colour, second altering colour.

When I edit first altering colour to 12pt it does actually work however the main index categories also go larger, I don't want it to do this. I believe before I had to add code to additional CSS features but I can't recall where I found them, I have been trying for two hours and I've admitted to myself that I can't find a solution, can anyone help?

Lynne 12-02-2008 09:20 PM

All questions regarding modifications/styles are supposed to be asked in the modification/style thread. The normal way to change the font size in the default style would be on the Main CSS page (a few different sections). It could be different in that style, so you need to ask for help in the style thread.

Bluefin221 12-02-2008 09:21 PM

Sorted it myself, for future reference:

Add this to the "Additional CSS Definitions" box in MainCSS:

.text_size_attribute {font-size: 12pt;}

## Edit the postbit and postbit_legacy templates. Find this:

<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->

## and change it to this: (add the div class)

<!-- message -->
<div
class="text_size_attribute" id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->


All times are GMT. The time now is 09:09 AM.

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.00970 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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