Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   How to make menu item text different colors (http://forum.bytesforall.com/showthread.php?t=21156)

tglass118 Nov 18, 2013 05:52 PM

How to make menu item text different colors
 
Rebuilding an old site in WP. I'm trying to make the menu item text different colors.
http://www.steveelson.com/wordpress/listen/. I can't figure out how to write the css.
I tried this, but it doesn't work.
div#menu1 ul.rMenu li a:link#menu-item-37 {color: #0D5B7B;}

juggledad Nov 18, 2013 06:21 PM

The ID 'menu-item-37' is on the <li> not the <a>
HTML Code:

<div id="menu1" class="menu-topmenu-container">
<ul id="rmenu2" class="clearfix rMenu-hor rMenu">
<li id="menu-item-37" class="home menu-item menu-item-type-post_type menu-item-object-page menu-item-37">
<a href="http://www.steveelson.com/wordpress/">
<span>Home</span>
</a>
</li>

try
HTML Code:

div#menu1 ul.rMenu li#menu-item-37 {color: #0D5B7B;}


All times are GMT -6. The time now is 10:40 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.