Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How to make menu item text different colors


  #1  
Old Nov 18, 2013, 05:52 PM
tglass118
 
16 posts · Dec 2009
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;}
  #2  
Old Nov 18, 2013, 06:21 PM
juggledad's Avatar
juggledad
 
23,686 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Page menu item - vertical text alignment deuxetoiles Page & Category Menu Bars 12 Jun 13, 2012 11:09 AM
Make the parent menu item non-clickable, only sub-menus tim55057 Page & Category Menu Bars 2 Nov 17, 2010 11:25 AM
[SOLVED] How to make page menu item point to custom URL? bongo Page & Category Menu Bars 2 Jan 22, 2010 09:17 AM
How do I change the home page top menu text and background box colors? bella123 Page & Category Menu Bars 4 Feb 13, 2009 08:07 AM


All times are GMT -6. The time now is 02:18 AM.


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