vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Please help with vbulletin header (https://vborg.vbsupport.ru/showthread.php?t=215477)

Dollarsign 06-06-2009 11:31 AM

Please help with vbulletin header
 
Hey guys,

I am having some trouble with my vbulletin forum and the css style, I think something is conflicting :(.

This is the code I have in the header.php file:

<ul class="navigation">
<li><a href="http">Home</a></li>
<li><a href="http">Forum</a></li>
<li><a href="http">Videos</a></li>
<li class="twitter"><a href="http" target="_blank">Twitter</a></li>
<li class="facebook"><a href="http" target="_blank">Facebook</a></li>
</ul>

And this is the CSS for the navigation bar:

ul.navigation {margin:0;padding:0;font-size:20px;cursor:default;margin:0px 0px 0 0;overflow:hidden;padding:9;border-bottom:1px solid #cccccc;font-style: italic;font-family:Arial Black;letter-spacing:-2px;}

ul.navigation li {float:left;list-style:none;}
ul.navigation li a {color:#CCCCCC;text-decoration:none;padding:7px 15px 7px 0px;display:block;}
ul.navigation li a:hover {color:#333333;}

ul.navigation li.twitter a {color:#CCCCCC;padding-right:0px;}
ul.navigation li.twitter a:hover, a:active {color:#33CCFF}

ul.navigation li.facebook {float:right;}
ul.navigation li.facebook a {color:#CCCCCC;padding-right:0px;}
ul.navigation li.facebook a:hover, a:active {color:#3B5998}

But something is overriding my changes, the text is definitely not arial black 20px and italic, it's more like 10px in some weird font i've never seen :\

Any help is greatly appreciated.

Thanks.

Lynne 06-06-2009 03:39 PM

See this regarding font-family - http://www.w3schools.com/CSS/pr_font_font-family.asp Note the comments regarding font names that contain white-space.

Dollarsign 06-07-2009 12:52 AM

Hi Lynne,

Thanks for your advice!

I found the main problem that was causing me grief:

ul.navigation {margin:0;padding:0;font-size:20px;cursor:default;margin:0px 0px 0 0;overflow:hidden;padding:9;border-bottom:1px solid #cccccc;font-style: italic;font-family:Arial Black;letter-spacing:-2px;}

ul.navigation li {float:left;list-style:none;}
ul.navigation li a {color:#CCCCCC;text-decoration:none;padding:7px 15px 7px 0px;display:block;}

The information in ul.navigation wasn't applying to the text, I had to add it to the ul.navigation li a line for it to work?

Oh well atleast it is working :D

Thanks.


All times are GMT. The time now is 11:37 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.01002 seconds
  • Memory Usage 1,713KB
  • 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
  • (3)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