vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help with colour please (https://vborg.vbsupport.ru/showthread.php?t=191074)

steve1966 09-16-2008 06:23 PM

Help with colour please
 
Hi i hope i dont confuse anyone i need help with this code that i have for a custom stlye


<div class="navright"><a href="blog.php">Blogs</a></div>

what do i add to the code to make the Blogs a different colour

thanks

i am sorry if i am asking this in the wrong section

Digital Jedi 09-16-2008 06:33 PM

You can add a style to the DIV tag with color name or Hexadecimal code you want.

Code:

<div class="navright" style="color:red;"><a href="blog.php">Blogs</a></div>
Or you can change the CSS for the navright class for links. It will probably be called .a navright or something like that.

steve1966 09-16-2008 06:36 PM

Thanks i will try that

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

Hi nope it did not work how do i had this code if i want it yellow #EEEE00

Digital Jedi 09-16-2008 07:50 PM

Which way did you try? Post the code you used.

steve1966 09-16-2008 07:56 PM

Hi this

<div class="navright" style="color:red;"><a href="blog.php">Blogs</a></div>

and this

<div class="navright" style="color: #123456;"><a href="blog.php">Blogs</a></div>

Digital Jedi 09-16-2008 09:11 PM

You probably need to add the color the .a navright CSS, then.

If your just looking to change the blog link only, then just go with basic HTML and see if that works.

Code:

<div class="navright"><font color="#123456"><a href="blog.php">Blogs</a></font></div>

Opserty 09-16-2008 09:38 PM

Something like this would probably work better:
HTML Code:

<div class="navright" id="bloglink"><a href="blog.php">Blogs</a></div>
And in your Main CSS:
Code:

#bloglink a
{
    color:#123456;
}


steve1966 09-16-2008 09:43 PM

many thanks


All times are GMT. The time now is 09:40 PM.

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.02301 seconds
  • Memory Usage 1,723KB
  • 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)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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