In WordPress, you have the option of editing the templates with the template editor; however, some specific changes can only be done in the code of the site. You can edit the code using the Appearance Editor in the WordPress dashboard. In this article we will explain how to change the size of the font in the menu of the "Twenty Twelve" theme using the Appearance Editor.

Steps to change the font of the menu

  1. Visit your site WordPressFirst you need to find the CSS code that requires editing. You do this by inspecting the code of your site. The following explains how to find the CSS code to edit.

    Visit your website.

    Highlight the menu items. Right click the the highlighted text and select view Selection Source (This is specific to FireFox. Other browsers will have a different way to inspect the code.)


  2. nav-menu css class WordPressFind the class for your navigation Menu. In this case the class we are going to edit it the nav-menuclass. See image to the right.

    Copy the nav-menu class name.


  3. Now you will need to paste the class name in the style.css sheet for your Wordpress. Log into the WordPress Dashboard.
  4. Appearance editor WordPressGo to Appearance and select Editor.

    Select the CSS style.css WordPressYou should by default be taken to the style.css stylesheet. If not, make sure you are on the style.css page by viewing the "Styles" section on the bottom right, and make sure the style.css is blue highlighted like the image to the right.

  5. Add code to your CSS WordPressPaste the class name at the bottom of the style.csspage. Make sure you have a ( . ) dot in front of it. The code should look like the following:
    .nav-menu {}

    You can add attributes to your CSS to change the size, color, and more of the text. In this example, we are changing the font size to 24 pixels (24px). The code looks like the following.

    .nav-menu {font-size:24px;}

    When done adding the CSS, click Update File.

    Important! You may need to Clear your browser cache to see the changes take effect.

    Larger menu font WordPressNow the font on your menu is larger. You can add different properties to change to look of specific areas of your WordPress site with the Appearance Editor of WordPress.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm James Richardson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Connecting email to gmail?
  2. Can I have Oscommerce installed on my site's server?
  3. I'm having trouble publishing with iWeb

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!