faster is better than slow | Download Swift
+ Reply to Thread
Results 1 to 4 of 4

Thread: Want to highlight a link on the first nav menu

  1. #1


    Post Want to highlight a link on the first nav menu

    I want to highlight a specific link on the first/primary nav menu. Any wany to do it?

  2. #2


    View the page source and find the link ID
    Code:
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-700" id="menu-item-700"><a href="http://192.168.0.199/swift-dev/?page_id=144">Child page 1</a></li>
    In the above code our link id is menu-item-700

    now, add this code to user css
    Code:
    #menu-item-700 a{
    background:red!important;
    color:#C00!important
    }
    
    #menu-item-700 a:hover{
    background:red!important;
    color:#C00!important
    }

  3. #3
    Junior Member
    Join Date
    Nov 2011
    Posts
    21


    0 out of 1 members found this post helpful.
    This worked for me <span style='color:red;'>Emergency Info</span> for the navigation label. http://aroundheronsforest.com

    OTC

  4. #4


    That worked. Thanks Satish!

+ Reply to Thread

Similar Threads

  1. Custom Link in Menu
    By andreaprior in forum Support
    Replies: 3
    Last Post: 01-12-2013, 12:25 PM
  2. Replies: 9
    Last Post: 08-05-2011, 02:36 AM
  3. Replies: 0
    Last Post: 03-25-2011, 01:08 AM
  4. Comment highlight Author problems
    By srinivas in forum Bug report and suggestions.
    Replies: 0
    Last Post: 09-06-2009, 05:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts