PDA

View Full Version : Where do I add these additional css definitions?


siggen
01-27-2008, 08:06 AM
I'm a neewbie, and trying to get this mod to work, and just can't get it right... :o




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


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/main/styleref_vb4_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.