Php Edit For Cufon Font Replacement
I am trying to change the color of the menu items on my website but i don't know where in this to add the color code #c3c3c3 that i want to use
Solution 1:
Your code indicates that the theme probably fetches the colors from database, which means theme author probably made it easy for you to edit these colors via WordPress dashboard, so choice 1 is look around the admin part for these options.
On the other hand, you can do it in a quick'n dirty (but perfectly valid) way, simply edit this part of your code:
<?php echo $color->bg['0']; ?>
<?php echo $color->bg['-4']; ?>
replacing it simply by color codes, like FFFFCC, or FF0000 (no need for # in front of it, as these are already in place as you'll see)
Solution 2:
Generally menu items are links and you can put the color change code in the css.
For example :
in HTML:
//...
<li><a href="about.php">About Us</a></li>
//...
in your CSS file:
.menu a
{
color:Black;
}
.menu a:hover
{
color:Maroon;
}
Post a Comment for "Php Edit For Cufon Font Replacement"