locked
CSS code help RRS feed

  • Question

  • Hello,
    I am having some trouble trying to change the font size of the navigation links. I heard that it must be done by the CSS in the EDIT STYLE SHEET tab but am not sure what code I have to put in to make the changes. If you can please help me I would appreciate it. 
    Wednesday, October 23, 2013 1:33 PM

Answers

  • Some decent content here to get you up to speed:

    http://technet.microsoft.com/en-us/sharepoint/hh126807.aspx

    If you've never touched CSS before it's not that terribly complicated but I find it's a deeper dive than many expect when you're first learning about it.

    As Steven says, Developer Tools are your best friend for this. The ones in IE are pretty good but I prefer Firebug. Your nav will be controlled by selectors and declarations that you can override similar to below:

    .s4-tn li.static > .menu-item {
        border: 1px solid rgba(0, 0, 0, 0);
        color: #3B4F65;
        display: inline-block;
        height: 15px;
        padding: 4px 10px;
        vertical-align: middle;
        white-space: nowrap;

    }

    Good luck. CSS can be fun stuff.

    • Proposed as answer by Steven AndrewsEditor Wednesday, October 23, 2013 6:56 PM
    • Marked as answer by tracycai Monday, October 28, 2013 2:32 AM
    Wednesday, October 23, 2013 4:50 PM

All replies