Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Bold Just One Menu Item


  #1  
Old Apr 25, 2012, 03:10 PM
bswb97
 
158 posts · Aug 2010
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what release of Atahualpa and WP?
What is the url showing an example?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 25, 2012, 08:11 PM
bswb97
 
158 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,176 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
 
158 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,176 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 10:34 AM.


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