Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 09-09-2010, 03:57 AM
huyv76 huyv76 is offline
 
Join Date: Jul 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default need some help with customize my site

Hello,
Could someone show me how to make these changes
1. I just changed my template to fixed width instead of fluid, but now it's aligned to the left. How do I update it so it's aligned center. My website is Childcare.us
2. On the forum page http://childcare.us/forum.php, how to I add/update the title so it says "Childcare.us - Child Care Forum", instead of just "Childcare.us".
Reply With Quote
  #2  
Old 09-09-2010, 04:01 AM
Jack12's Avatar
Jack12 Jack12 is offline
 
Join Date: May 2010
Location: Western Australia
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To center any div use the following css code:
Code:
margin: 0 auto;
Reply With Quote
  #3  
Old 09-09-2010, 04:05 AM
huyv76 huyv76 is offline
 
Join Date: Jul 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you be a little more specific? Do I need to update a certain stylevar? I want to center the whole page.
Reply With Quote
  #4  
Old 09-09-2010, 04:56 AM
Jack12's Avatar
Jack12 Jack12 is offline
 
Join Date: May 2010
Location: Western Australia
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think the body margin is a stylevar so you'll need to use css to center the body.

Add to additional.css
Code:
body { margin:0 auto; }
Reply With Quote
  #5  
Old 09-09-2010, 05:21 AM
huyv76 huyv76 is offline
 
Join Date: Jul 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I update additional.css? Sorry I'm pretty new to this tool.

--------------- Added [DATE]1284014314[/DATE] at [TIME]1284014314[/TIME] ---------------

I see additional.css definition under Style Manager -> Main.css. However, I cannot update it. It's saying "This CSS file is obsolete and is available here for reference purposes only.".

Is there another place I can update?
Reply With Quote
  #6  
Old 09-09-2010, 06:08 AM
Jack12's Avatar
Jack12 Jack12 is offline
 
Join Date: May 2010
Location: Western Australia
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admin CP -> Styles and Settings -> On the dropdown box of the style you wish to edit select edit templates -> CSS Templates -> additional.css

Add the code to that template.
Reply With Quote
  #7  
Old 09-09-2010, 06:46 AM
huyv76 huyv76 is offline
 
Join Date: Jul 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect, thank you very much.

Can you help me with question #2 as well ? I try to update the Forum Name under "Site Name/URL/Contact Us" section, but that changed on all pages. I just want to change the title on http://childcare.us/forum.php.
Reply With Quote
  #8  
Old 09-09-2010, 09:33 AM
Jack12's Avatar
Jack12 Jack12 is offline
 
Join Date: May 2010
Location: Western Australia
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All depends on exactly what you're trying to change.

Checked my uploaded image. Red square is an image and can only be edited through a image manipulation program.

Green square is controlled by the Site Name option.

If you want to just change the title in the green square, you can do so by editing the forumhome template.

Code:
<div id="pagetitle">
		<h1>{vb:raw vboptions.bbtitle}</h1>
		<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
	</div>
Change {vb:raw vboptions.bbtitle} to the text you want to appear.
Attached Images
File Type: png title.png (90.5 KB, 0 views)
Reply With Quote
  #9  
Old 09-09-2010, 11:43 AM
huyv76 huyv76 is offline
 
Join Date: Jul 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually what I want to change is the header title (in html title tag) that display on the browser. Currently it says Childcare.us - Mozilla Firefox (or other browser type). I want it to to say Childcare Forum - Childcare.us.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07026 seconds
  • Memory Usage 2,254KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete