vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Where do I add these additional css definitions? (https://vborg.vbsupport.ru/showthread.php?t=168853)

siggen 01-27-2008 08:06 AM

Where do I add these additional css definitions?
 
I'm a neewbie, and trying to get this mod to work, and just can't get it right... :o

Quote:


Quote:

In the Style Manager, find the "SHOWTHREAD" template. Find:

$poll

And ABOVE it add

<h2>$thread[title]</h2>
<div id="h2stats">this thread has $thread[replycount] replies and has been viewed $thread[views] times</div>
Now add to your additional css definitions

Quote:

h2
{
font-size: 200%;
text-align: center;
margin: 0;
padding: 0;
}

#h2stats
{
font-size: 125%;
text-align: center;
}

Installing he first bit worked like perfectly, but installing the other part of the mod to the additional css definitions...ehhh... :confused:

- Where do I find the additional css definitions so I can add the second part of the mod, and get it to work?

- And at the same time, how do I program a "spacer" underneath the "thread title" in the mod, so it's not so cramped into the following threadbox and "post reply" button?

Hope someone really can help me out, as this is the first mod I have tried to do on my vBulletin... :)

.

Opserty 01-27-2008 08:21 AM

For additional CSS definitions you need to edit your Main CSS.

Styles & Templates > Style Manager > Main CSS > Scroll to the bottom and paste it in the second text area.

(For the spacer just add a "<br />" wherever you want to add extra space, works only in templates)

Guust 03-20-2010 11:27 PM

This is obsolete in v4, so does not work.

brandondrury 01-14-2011 10:04 PM

While I'm still not sure where it is located, Additional.css appears to be the name of the file according to this: http://www.vbulletin.com/docs/html/m...css_additional

BirdOPrey5 01-16-2011 05:12 PM

IN VB3 additional css is in style manager-> choose style-> all style options... near the bottom are two boxes for additional css info.

VB4 can be discussed in the VB4 forum.


All times are GMT. The time now is 01:56 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.00995 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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