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


    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

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