• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Streamline Child Theme: Increasing font size in Primary Nav Menu

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Streamline Child Theme: Increasing font size in Primary Nav Menu

This topic is: resolved
  • This topic has 7 replies, 3 voices, and was last updated 12 years ago by biskinner.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • April 30, 2013 at 8:14 pm #38662
    biskinner
    Member

    Hello everyone! I want to increase the font size in my Primary Navigation Menu and I experimented with that (using the CSS Stylesheet) in a couple different places but it didn't actually change the font on my Primary Nav Menu, so I'm assuming I'm not changing the right code! Does anyone know where that exact piece of code is located? Thanks for your time! theskinnyonrealestate.com

    April 30, 2013 at 8:24 pm #38664
    Terry
    Member

    Hi biskinner,

    You can add font-size to the .primary-menu styling at line 283 of style.css.

    Regards,

    Terry

     

    April 30, 2013 at 8:36 pm #38665
    biskinner
    Member

    Thanks Terry! Is there an easy way to locate line 283? As I'm looking at the stylesheet I don't seem to have any line numbers.

    April 30, 2013 at 8:53 pm #38668
    Terry
    Member

    Oh, I'm so sorry. You can either install the "advanced code editor" plugin and it'll give you line numbers or I can give you more specific directions.

    Sorry I ftp the files and edit them and sometimes forget.

    Terry

    April 30, 2013 at 10:08 pm #38671
    biskinner
    Member

    Zowie! That's a great plugin - thanks for the tip.

    The code at line 286 is this:  font-size: 12px;

    And I tried editing that before and it didn't have any effect on the menu font size. Is that because it doesn't apply to that particular area?

    And just to be clear, if I do need to add additional code regarding the font, on line 283, do I input it the same way as line 286? Such as:  font-size: 14px;?

    May 1, 2013 at 1:46 am #38704
    Marco
    Member

    Hello,

    after
    `.menu-primary,
    .menu-secondary,
    #header .menu {
    clear: both;
    color: #aaa49f;
    font-size: 12px;
    margin: 0 auto;
    overflow: hidden;
    text-shadow: 1px 1px #000;
    text-transform: uppercase;
    width: 100%;
    }`
    add:
    `.menu-primary {
    font-size: 14px;
    }`

    save and refresh your home page.


    Neat & Plain – Genesis and WordPress specialist

    May 1, 2013 at 6:29 am #38730
    Terry
    Member

    Glad the plugin worked for you!

    Have you tried using Chrome Dev Tools or Firebug(FireFox)? Andrea has a fantastic Firebug tut. They are tools to provide visibility into your site from within the browser and are easy to use. They also let you change the css live to see the results w/out editing the css file.

    Using Firebug it shows line 283 as the start of the .menu-primary, .menu-secondary, #header .menu styling as Marco showed above. Because you have only a single nav, you can change the font-size: 12px; to whatever you want and have it display.

    Or just add the separate statement below (thanks Marco!).

    If you've made either change, saved & refreshed and it's not showing up - clear your browser cache and reload.

    Good Luck!

    May 1, 2013 at 2:29 pm #38826
    biskinner
    Member

    Thank you both so much for your help! It worked very well!

    And I can see where that plugin will really come in handy. I told a friend of mine about it too and he already installed it and is excited about using it.

     

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Streamline Child Theme: Increasing font size in Primary Nav Menu’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble