Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modifying font size of admin bar

  • Avatar of allenweiss
    allenweiss
    Participant

    @allenweiss

    I’ve looked through the code to find a way to modify the size of the font for the admin bar. What I found was that it seems to tied to this css ID

    bp-adminbar-account-menu

    But this doesn’t exist in the css file – admin-bar.css – (I find wp-adminbar, for example, but not something related to bp)

    Anyway, does anybody know how to change the font size?

    thanks,

    Allen

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Hey Allen,

    The CSS for the admin bar is located here:

    /wp-content/plugins/buddypress/bp-core/css/admin-bar.css

    Look for these lines:

    #wp-admin-bar li * {
    font: 12px normal "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, Verdana, Arial, sans-serif !important;
    font-weight: normal !important;
    background-image: none !important;
    }

    #wp-admin-bar li a {
    padding: 5px 25px 7px 15px !important;
    font: 12px normal "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, Verdana, Arial, sans-serif !important;
    font-weight: normal !important;
    }

    #wp-admin-bar ul li a {
    display: block !important;
    font-size: 12px !important;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, Verdana, Arial, sans-serif !important;
    text-decoration: none !important;
    color: #fff !important;
    }

    Avatar of allenweiss
    allenweiss
    Participant

    @allenweiss

    Thanks…that worked…seems odd that the style id is different in the css that whats in the code..oh well :)

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.