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 »

[SOLVED] Make only one page item bold?


  #1  
Old Dec 29, 2011, 04:43 PM
Danielwerner's Avatar
Danielwerner
 
94 posts · Jul 2009
Hi,

Quick question: Is it possible to make only one menu item bold? I would like the last (the page with the highest "order" value) item in my page menu bold. And the rest normal as usual.

If yes; how do I do that?

Kind regards,
Daniel
__________________
http://blogg.danielwerner.se/
  #2  
Old Dec 29, 2011, 05:00 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
while there is a psuedo class for the first child, alas there is not for the last child.
If the menu is static on all pages, you could use the page item id in the css to select it
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 29, 2011, 05:56 PM
Danielwerner's Avatar
Danielwerner
 
94 posts · Jul 2009
Yep, it's static. Say, what is the css-code for that?
__________________
http://blogg.danielwerner.se/
  #4  
Old Dec 29, 2011, 06:43 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
HTML Code:
.page-item-nn {.....}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Dec 29, 2011, 07:07 PM
Danielwerner's Avatar
Danielwerner
 
94 posts · Jul 2009
Hmm, can't get it to work. I'm a newbie at css and stuff. Could you please specify the whole thing which I need to add in css inserts?

Right now I added

HTML Code:
.page-item-5698 {
font-weight: bold;
}
where 5698 is the post id of the page.
__________________
http://blogg.danielwerner.se/
  #6  
Old Dec 30, 2011, 08:54 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You need to use
HTML Code:
.page-item-5698 a span {color: #00ffff;}
this will change it blue - put the CSS you want in place of the color...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Dec 30, 2011, 02:04 PM
Danielwerner's Avatar
Danielwerner
 
94 posts · Jul 2009
Thanks, works like a charm!
__________________
http://blogg.danielwerner.se/

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lower case children and Bold current item deuxetoiles Sidebars & Widgets 10 Jun 13, 2011 12:30 PM
[SOLVED] Help with prior thread on make page menu text bold Andante Page & Category Menu Bars 2 Jul 29, 2010 11:47 PM
How Do I Make Page Links Bold In Menu Bar ClearStreams Atahualpa 3 Wordpress theme 3 Apr 21, 2010 04:32 PM
How to make Page Menu Bar items BOLD? PerryM Page & Category Menu Bars 3 Dec 3, 2009 10:03 AM
Make 'Page' menu items bold coop42 Page & Category Menu Bars 1 Jul 16, 2009 06:18 PM


All times are GMT -6. The time now is 11:59 PM.


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