vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Changing navbar text (https://vborg.vbsupport.ru/showthread.php?t=199308)

nbaphenom 12-19-2008 08:22 PM

Changing navbar text
 
This code is in my css how would i change the font to arial black and center it in the navbar .
Quote:

#navcontainer ul
{
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
background-color: #222222;
color: transparent;
float: left;
width: 100%;
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;

}

}

#navcontainer ul li { display: inline; }

#navcontainer ul li a
{
change font:Verdana;
height: 38px;
padding: 0.2em 1em;
background-color: #222222;
color: White;
text-decoration: none;
float: left;
}

#navcontainer ul li a:hover
{
background-color: #666666;
color: #fff;
}
http://ball2live.com/index.php?styleid=47

Lynne 12-19-2008 08:48 PM

Why don't you try it by trial and error. You will learn a bit about how css works if you do it that way. Here's a page on font properties - http://www.w3schools.com/css/css_font.asp

nbaphenom 12-19-2008 09:02 PM

font-weight: bold

i added that tried to make it bold and no luck .

Lynne 12-19-2008 09:16 PM

You added it..... where? Post the code so we can see if you made a mistake. (Please use the code/html/php tags.)

nbaphenom 12-19-2008 09:27 PM

Quote:

#navcontainer ul
{
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
background-color: #222222;
color: transparent;
float: left;
width: 100%;
font-weight: bold;
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;

}

}

#navcontainer ul li { display: inline; }

#navcontainer ul li a
{
change font:Verdana;
height: 38px;
padding: 0.2em 1em;
background-color: #222222;
color: White;
text-decoration: none;
float: left;
}

#navcontainer ul li a:hover
{
background-color: #666666;
color: #fff;
}
I suck ..

Lynne 12-19-2008 09:36 PM

I think you should fix your css before you go trying to change it. You have an extra } in there (they always comes in pairs - a { and then a } ) and there is no property called "change font".

And, if it doesn't work under one, try another.

(The code/html/php tags are to the right of the quote button.)

nbaphenom 12-19-2008 09:41 PM

Yea I was trying to get help and some one told me to put that in there it looked fishy but yeah .


All times are GMT. The time now is 02:18 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.00989 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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