Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Bold Just One Menu Item


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 25, 2012, 03:10 PM
bswb97
 
147 posts · Aug 2010
Bold Just One Menu Item

I'm trying to bold just a single item on my page menu. I thought this would work:

div#menu-item-25 ul.rMenu li a:link,
div#menu-item-25 ul.rMenu li a:visited,
div#menu-item-25 ul.rMenu li a:hover,
div#menu-item-25 ul.rMenu li a:active,
div#menu-item-25 ul.rMenu li {
font-weight: bold !important;
}

But it's not taking. I've also tried these:

div#menu-item-25 body {
font-weight: bold !important;
}

li#menu-item-25.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-25 {
font-weight: bold !important;
}

Any thoughts?
  #2  
Old Apr 25, 2012, 07:32 PM
juggledad's Avatar
juggledad
 
21,937 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
what release of Atahualpa and WP?
What is the url showing an example?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Apr 25, 2012, 08:11 PM
bswb97
 
147 posts · Aug 2010
www.pearlproject.org

WP 3.3.2
Ata 3.7.3
  #4  
Old Apr 25, 2012, 08:38 PM
lmilesw's Avatar
lmilesw
 
10,046 posts · Jul 2009
Central New York State USA
Here is what I came up with using Firebug
HTML Code:
#menu-item-25 a {
    font-weight: bold !important;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Apr 26, 2012, 09:10 AM
bswb97
 
147 posts · Aug 2010
That works, thanks! For future reference, any idea why that one worked over the above items? Didn't the a element get called out in the one with the different states?
  #6  
Old Apr 26, 2012, 09:45 AM
lmilesw's Avatar
lmilesw
 
10,046 posts · Jul 2009
Central New York State USA
You had your selectors in sort of reverse order and the menu-item-25 isn't a div. This would work as well. I just paired it down to the id since that only targeted the one item.
HTML Code:
ul.rMenu li#menu-item-25 a {
font-weight: bold !important;
}
If you want all the states to be the same you just need to us a or a:link. a:hover etc would be for when you want the hover state to be different for instance.

I like your site by the way... and the message. My mother-in-law and sister-in-law (46) died of lung cancer. My sister-in-law smoked 3 packs a day.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Apr 26, 2012 at 09:47 AM.

Bookmarks

Tags
bold menu item

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Make only one page item bold? Danielwerner Page & Category Menu Bars 6 Dec 30, 2011 01:04 PM
Lower case children and Bold current item deuxetoiles Sidebars & Widgets 10 Jun 13, 2011 11:30 AM
Page Menu Bar Bold technstuff Page & Category Menu Bars 5 Jul 24, 2010 11:29 AM
[SOLVED] I want links not bold but h2 on home page bold...how? jankph New Versions, & Updating 1 Jul 19, 2009 10:30 AM


All times are GMT -6. The time now is 03:33 PM.


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