Responsive WordPress Theme – Caliber

A theme with simple controls and limitless potential. Work fast and build an amazing website!   Find out more »

UpThemes – Beautiful WordPress Themes

Create a site your church, gallery, newspaper, blog, recipes, band and more!   See the themes »

Need a little help?  Find answers quickly by searching the forum.
Group Admins
  • andy
  • jeffw
  • admin

Support for: Moxie – Responsive Theme for WordPress

Moxie

Public Group  |  active 1 week, 1 day ago ago
Viewing post 1 to 4 (4 total posts)

Apply adjustment like color and size to top level menu only

  • vunguyen

    said

    Hi guys,

    For the life of me, I can’t seem to apply any decoration like font-size or color to the top level menu (Note: top level menu ONLY).
    I even tried to create a special class and put it in custom css field. It just doesn’t want to work.
    This technique works fine for any of the sub menu but not the top level menu.
    Any help would be much appreciated :D

    Cheers!

  • sturader

    said

    I’m using mostly icons, but this works for text as well. !important may need to be used selectively:

    #megaMenu ul.megaMenu li.menu-item span.um-anchoremulator span.wpmega-item-description {
    color: #AFAFAF; (as desired)
    font-size: 13px; (as desired)
    line-height: 1;
    }
  • jeffw

    said

    Hi, vsync.

    You need to use the CSS > selector to target immediate children only, like this:

    #MainNav #megaMenu ul.megaMenu  > li.menu-item  > a span {
      color: red !important;
      font-size: 20px; !important
    }

    Add the styles to your Custom CSS box or custom stylesheet.

    References:
    http://www.w3schools.com/cssref/css_selectors.asp

  • vunguyen

    said

    Thanks guys! Worked like a treat :)

    Cheers!

Viewing post 1 to 4 (4 total posts)
Topic tags: adjustment, color, moxie, size, top level menu, top menu