Ask your WordPress questions! Pay money and get answers fast! (more info)

CSS: Change font for main menu WordPress

  • SOLVED

Hello,

I've tried numerous times, but can't get this to work.

I'd like to override the font-family for my menu on this site: http://www.llcinpa.com/

I'd like it to be
font-family: 'Open Sans', sans-serif !important

Thanks!

Answers (3)

2015-02-25

Ellah Alzona answers:

Hi king2244.

Please add the css to make it work:



#menu-main-nav .menu-item a{
font-family: 'Open Sans', sans-serif !important;
}


king2244 comments:

This worked, thank you! Do you know how I can make the gray font color change to #333333?

2015-02-25

Reigel Gallarde answers:

have you tried this?

nav a {
font-family: 'Open Sans', sans-serif !important
}


king2244 comments:

Yes, this worked too. Thanks :)


Reigel Gallarde comments:

nav a {

font-family: 'Open Sans', sans-serif !important
color: #333

}

for the color ;)


Reigel Gallarde comments:

header nav a {
font-family: 'Open Sans', sans-serif !important
color: #333
}


king2244 comments:

Awesome & simple -- thank you!!

2015-02-25

Romel Apuya answers:

#menu-main-nav li a{
font-family: 'Open Sans', sans-serif !important
}


Romel Apuya comments:

#menu-main-nav li a{

font-family: 'Open Sans', sans-serif !important;

}


king2244 comments:

Thanks, this worked as well!!


Romel Apuya comments:

#menu-main-nav li a{
font-family: 'Open Sans', sans-serif !important;
color:#333 !important;
}


king2244 comments:

thank you!!