Branding SharePoint 2007 Top Navigation Bar with Images

Want to give some stylish look and feel for the Top link Bar? like the below one:

MOSS 2007 Top link bar uses the following CSS Classes from Core.CSS:
1.  .ms-topnav
2.  .ms-topnav a
3.  .ms-topnavselected
4.  .ms-topnavselected a

So, Customize the above CSS classes. Either we can place them in our own

Here is what I’ve done:

.ms-topnav{
border:none;
background:url("/_layouts/images/left_inactive.gif") top left no-repeat transparent!important;
font-family:Tahoma;
font-size:8pt;
color:#3764a0;
height:42px;
}

.ms-topnav a{
display:block;
white-space:nowrap;
padding:23px 12px 0px 12px;
height:42px;
color:#013d79;
background:url("/_layouts/images/right_inactive.gif") top right no-repeat transparent!important;
}

.ms-topnavselected{
color:#013d78;
background:url("/_layouts/images/left_active.gif") top left no-repeat transparent!important;
border:none;
font-weight:bold;
}

.ms-topnavselected a{
padding-top:17px;
color:#ffffff;
background:url("/_layouts/images/right_active.gif") top right no-repeat transparent!important;
}

And here are the Images:


Related Post:
Branding SharePoint 2010 Top Navigation Dropdown Menu Bar
https://chrisstahl.wordpress.com/2010/11/04/customizing-sharepoint-2010-global-navigation-with-css-and-jquery-2/

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

Leave a Reply

Your email address will not be published. Required fields are marked *