vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   trying to figure out how you center the text catogories (https://vborg.vbsupport.ru/showthread.php?t=85021)

jjcool777 10-18-2002 01:58 PM

trying to figure out how you center the text catogories
 
hi,

im trying to figure out how you center the text catogories,

an example is, like these forums where it says,

vbt centrel

&

vb template mods,

etc, on the main index.

the words are centered on the catorories,

how do i do that??

thanx

Tony G 10-18-2002 11:55 PM

It's as easy as putting an align="center" in the <td> tag but if you need exact code use this mod:

http://www.vbulletintemplates.com/mo...light=Centered

jjcool777 10-19-2002 11:36 AM

thanx but ive tryed that,
it just either places it above or underneaf my catagory image bar

i have a image bar there and cant seem to get it centered on the image?
like yours on here ?

Tony G 10-19-2002 12:18 PM

Okay, are you editing the correct code? I can't see how such a simple modification can go wrong.

jjcool777 10-19-2002 01:01 PM

yes tony im doing it correct as this text says

http://www.vbulletintemplates.com/mo...p?s=&postid=10

sphinx 10-19-2002 06:17 PM

Admin CP -> Templates -> Modify -> [expand list] -> Forum Home Page Templates -> forumhome_forumbit_level....

for the category bars that contain just the category text it's going to be the forumhome_forumbit_level1_nopost template (or maybe it's level2).
it should be the align="center" in line one that should do the job it worked fine for me

<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6" align="center"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>


All times are GMT. The time now is 08:19 AM.

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.00983 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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