Why does changing main nav class attrib's do nothing?

  • Hi,
    I’m trying to change the class for the default nav (in this case, “page_item page-item-8” for the second link).

    I’ve tried the following individually and in combination with “add to css” selected, but no change appears in the
    preview.

    I’m sure it isn’t anything as stupid as having to buy the upgrade before the “Preview” actually previews, right?

    .page_item page-item-8 {
    font-size:50px;
    }

    .page_item {
    font-size:50px;
    }

    .page-item-8 {
    font-size:50px;
    }

    Thanks,
    Mark

    The blog I need help with is: (visible only to logged in users)

  • Right. Where did you get “page-item-8” from? What is the text of the link you want to change?

    To change the font size for all top navigation in Twenty Ten, try this:

    div.menu ul li.current_page_item, div.menu ul li.page_item {
    font-size: 25px;
    }

    To change the font size for the second link in the top nav (currently says “Meet Your Chiropractor”), try this:

    div.menu ul li.page-item-4 {
    font-size: 25px;
    }
  • The topic ‘Why does changing main nav class attrib's do nothing?’ is closed to new replies.