Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2006, 04:18 AM
chiaa chiaa is offline
 
Join Date: Apr 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default <td>, <th>, <p>, <li> (Customized in this Style)

I want to change all the fonts except those located here:

<!-- message -->
<div id="post_message_141">I like that font -- the one above showing the titles</div>
<!-- / message -->

ie within a post/message.

If I change it in Extra CSS Attributes under <td>, <th>, <p>, <li> (Customized in this Style) to only one font family everything changes including the messages/post.

Any help will be greatly appreciated.
Reply With Quote
  #2  
Old 04-17-2006, 05:56 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unless it's a global call, you can override the CSS settings within the <div> or even <span> tags. Since the <div> in your example has an ID you can add a class attribute such as:

Code:
<div id="post_message_141" class="msgfont">
And place the CSS in Main CSS "Additional CSS Definitions" as:

Code:
.msgfont {
  font-family:verdana, helvetica, arial; /* or whatever font type you want */
  }
Or

Code:
<div id="post_message_141" style="font-family:verdana, helvetica, arial">
See if that works.
Reply With Quote
  #3  
Old 04-17-2006, 06:55 AM
chiaa chiaa is offline
 
Join Date: Apr 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(This auto edit double post thing sucks so I deleted what was previously written so what help I now need is not lost in the jungle...)

Ok so I have the following in CSS definitions:

.smallfont
{
font-family: comic sans ms;
}

And this affects:
Code:
<div>
			<a href="forumdisplay.php?f=29"><strong>The Twitching Liver</strong></a>
			
		</div>

		<div class="smallfont">Reviews, opinions and disussions on bars, restaurants and clubs in the ROK</div>
		
		
	</td>
Now with this:

Code:
<div class="smallfont" align="left">
	<div style="clear:both">
		<img class="inlineimg" src="images/icons/icon1.gif" alt="" border="0" />
		<a href="showthread.php?goto=newpost&amp;t=23" title="Go to first unread post in thread 'testing'"><strong>testing</strong></a>
	</div>
I want to have "testing" not be limited to just comic sans ms so I wrote:

.clear:both
{
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

That did not work (you already know that).

Idea to do what I want to accomplish?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:40 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.03627 seconds
  • Memory Usage 2,180KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete