vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   need some help with customize my site (https://vborg.vbsupport.ru/showthread.php?t=250190)

huyv76 09-09-2010 03:57 AM

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".

Jack12 09-09-2010 04:01 AM

To center any div use the following css code:
Code:

margin: 0 auto;

huyv76 09-09-2010 04:05 AM

Can you be a little more specific? Do I need to update a certain stylevar? I want to center the whole page.

Jack12 09-09-2010 04:56 AM

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; }

huyv76 09-09-2010 05:21 AM

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?

Jack12 09-09-2010 06:08 AM

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.

huyv76 09-09-2010 06:46 AM

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.

Jack12 09-09-2010 09:33 AM

1 Attachment(s)
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.

huyv76 09-09-2010 11:43 AM

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.


All times are GMT. The time now is 02:00 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.01050 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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