PDA

View Full Version : Center Category Names and Descriptions.


Xplorer4x4
25 Nov 2005, 12:15
The title basicly explains it all. This will simply center the categorey name and description. Simple yet effective.

In forumhome_forumbit_level1_nopost find the following:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

And add <div align="center"> before it.
Now add </div> directley after it.
Now your done.

This WILL NOT center forum names. If you are interested in centering forum names and descriptions, add the </div> right before the <!-- what's going on box --> tag.


Please click https://www.vbulletin.org/forum/ (http://www.vbulletin.org/forum/vborg_miscactions.php?do=uninstallhack&threadid=101513) if you use this. :)

Snake
25 Nov 2005, 12:48
Nice one. :)

/me installs

SHANE-D-PAIN
25 Nov 2005, 13:09
Pretty simple, infact its not something I would have ever bothered to post but oh well.

Suppose its useful for those still using the default vBulletin template who dont have a clue what HTML is! :P

tnguy3n
25 Nov 2005, 13:24
it'd be better to use <div align="center"></div>.

Boofo
25 Nov 2005, 13:33
And you need to post a text file with the instructions also. ;)

Flow Fusion
25 Nov 2005, 14:03
Centered it all for me. Thanks.

Rhoads
25 Nov 2005, 16:01
Thnx, installed :)

euan doc
25 Nov 2005, 17:08
Clicks installed

Im new to all this. How would I be able to centre forum names and post names ?

Gizmo5h1t3
25 Nov 2005, 17:39
as a n00b meself, id like to know how to continue this by centering the who`s online as well.....

and also as mentioned, centering the members names in the who`s online boxes....

Sooner95
25 Nov 2005, 18:37
yea, saw this in one of the xmas styles.. actually looks nice. Thx

NuclioN
25 Nov 2005, 19:53
This is nice but in our style we have an image thead on the right and now the left side looks....empty. I've placed a small image but then the above forumname looks off balance.

Xplorer4x4
26 Nov 2005, 04:15
And you need to post a text file with the instructions also. ;)

Read my post. Said I would do it later. So I will do that now! ;)

As far as the centering forums and who is online, I will post it on another thread.

@ tnguy3n thanks for that. I kinda assumed there was a better way to so this. ;)

@SHANE-D-PAIN Yeah I almost considered not posting it but hey some people can;t figure it out on there own and the comunity is all baout helping others so I figuered why not? Plus it helps me earn credit towards my coder status.

Xplorer4x4
11 Dec 2005, 00:48
as a n00b meself, id like to know how to continue this by centering the who`s online as well.....

and also as mentioned, centering the members names in the who`s online boxes....

I was gona post it in another thread but I forgot you just need to drop the clossing </div> tag, and move it to the very end of the template. :)

hotwheels
31 Dec 2005, 19:27
very nice addition............ hotwheels clicks *installs*

vietkieu_cz
04 Jan 2006, 13:43
Or in Main CSS/Category Strips /Extra CSS Attributes add
text-align: center;

XtremeOffroad
04 Jan 2006, 14:36
That looks so much nicer, Installed
Thanks for this

miner
11 Jan 2006, 05:44
Thanks i have installed ...

Pl help me to center the Who Is online text...

stefaandk
11 Jan 2006, 08:21
Might be a simple hack but I wouldnt' have found it, so thanks!

Looks heaps better.

Xplorer4x4
11 Jan 2006, 09:31
Thanks i have installed ...

Pl help me to center the Who Is online text...

Please click the install button if you apreciate this hack. ;)
http://www.vbulletin.org/forum/showpost.php?p=845926&postcount=13

vietfancy
11 Jan 2006, 17:32
very nice. Thanks

kregger
12 Jan 2006, 20:38
Definitely a simple hack. But a really good one. Its one of those things I might have figured out on my own, but probably wouldn't have actually thought of it. hehe Thanks! *clicks Install*

Craig

QueenBee
15 Jan 2006, 07:47
tah dah!!! done in 60 seconds. LMAO

XFSImperial
21 Jan 2006, 02:06
A simple mod, but it does make a difference. Thanks

Gripemaster
03 Feb 2006, 11:34
Nice and easy... thank you! *Clicks Install*

BabyNameAddict
09 Mar 2006, 16:41
Or in Main CSS/Category Strips /Extra CSS Attributes add

Did this, eas as pie! Thanks :D

Klaymen TM
23 Aug 2006, 11:52
Great! Thanks. ;)

josepheseven
16 Aug 2007, 22:50
Or in Main CSS/Category Strips /Extra CSS Attributes add



thanks mate :)