View Full Version : Center Category Names and Descriptions.
Xplorer4x4
11-24-2005, 10:00 PM
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://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=uninstallhack&threadid=101513) if you use this. :)
Snake
11-25-2005, 11:48 AM
Nice one. :)
* Snake installs
SHANE-D-PAIN
11-25-2005, 12:09 PM
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
11-25-2005, 12:24 PM
it'd be better to use <div align="center"></div>.
Boofo
11-25-2005, 12:33 PM
And you need to post a text file with the instructions also. ;)
Flow Fusion
11-25-2005, 01:03 PM
Centered it all for me. Thanks.
Rhoads
11-25-2005, 03:01 PM
Thnx, installed :)
euan doc
11-25-2005, 04:08 PM
Clicks installed
Im new to all this. How would I be able to centre forum names and post names ?
Gizmo5h1t3
11-25-2005, 04:39 PM
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
11-25-2005, 05:37 PM
yea, saw this in one of the xmas styles.. actually looks nice. Thx
NuclioN
11-25-2005, 06:53 PM
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
11-26-2005, 03:15 AM
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
12-10-2005, 11:48 PM
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
12-31-2005, 06:27 PM
very nice addition............ hotwheels clicks *installs*
vietkieu_cz
01-04-2006, 12:43 PM
Or in Main CSS/Category Strips /Extra CSS Attributes add
text-align: center;
XtremeOffroad
01-04-2006, 01:36 PM
That looks so much nicer, Installed
Thanks for this
miner
01-11-2006, 04:44 AM
Thanks i have installed ...
Pl help me to center the Who Is online text...
stefaandk
01-11-2006, 07:21 AM
Might be a simple hack but I wouldnt' have found it, so thanks!
Looks heaps better.
Xplorer4x4
01-11-2006, 08:31 AM
Thanks i have installed ...
Pl help me to center the Who Is online text...
Please click the install button if you apreciate this hack. ;)
https://vborg.vbsupport.ru/showpost.php?p=845926&postcount=13
vietfancy
01-11-2006, 04:32 PM
very nice. Thanks
kregger
01-12-2006, 07:38 PM
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
01-15-2006, 06:47 AM
tah dah!!! done in 60 seconds. LMAO
XFSImperial
01-21-2006, 01:06 AM
A simple mod, but it does make a difference. Thanks
Gripemaster
02-03-2006, 10:34 AM
Nice and easy... thank you! *Clicks Install*
BabyNameAddict
03-09-2006, 03:41 PM
Or in Main CSS/Category Strips /Extra CSS Attributes add
Did this, eas as pie! Thanks :D
Klaymen TM
08-23-2006, 10:52 AM
Great! Thanks. ;)
josepheseven
08-16-2007, 09:50 PM
Or in Main CSS/Category Strips /Extra CSS Attributes add
thanks mate :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.