View Full Version : Help with colour please
steve1966
09-16-2008, 06:23 PM
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.
<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 1221594736 at 1221594736 ---------------
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.
<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:
<div class="navright" id="bloglink"><a href="blog.php">Blogs</a></div>
And in your Main CSS:
#bloglink a
{
color:#123456;
}
steve1966
09-16-2008, 09:43 PM
many thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.