• 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

Changing font of one menu item

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 › Changing font of one menu item

This topic is: resolved

Tagged: css, top navigation menu

  • This topic has 4 replies, 2 voices, and was last updated 8 years, 4 months ago by nomad_jess.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 17, 2014 at 6:07 am #128132
    nomad_jess
    Member

    Hi there,

    I'd like to make some changes to my top navigation menu.

    I'd like the first menu item (which is the title of my site) to be left-aligned as it is now, but a different font. I'd like the other three top navigation menu items to be right aligned with the existing font.

    Could you please help me out with the CSS for this?

    Many thanks in advance!

    Jess

    http://notesofnomads.com
    October 17, 2014 at 6:22 am #128134
    Lauren @ OnceCoupled
    Member

    You may want to re-order your menu items so they appear in the correct direction on the right:

    .nav-secondary .genesis-nav-menu li {
        float: right;
    }
    
    .nav-secondary .genesis-nav-menu li:first-of-type {
        float: left;
    }
    
    .nav-secondary .genesis-nav-menu li:first-of-type a {
        font-family: Arial;
    }

    Cheers!
    Lauren


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    October 17, 2014 at 9:37 am #128150
    nomad_jess
    Member

    Thank you, Lauren! That's perfect!

    I'm now just wanting to reduce the size and unbold the menus items to the right so they don't stand out as much.

    I've been trying with the following code, but the menu items have remained unaffected.

    .nav-secondary .genesis-nav-menu li {
    font-family: 'Amatic SC';
    font-size: 10px;
    float: right;
    font-weight: 400;
    text-transform: uppercase;
    }

    Any help would be greatly appreciated.

    Kind regards,

    Jess

    October 27, 2014 at 7:34 pm #129507
    Lauren @ OnceCoupled
    Member

    Hey Jess! Sorry for the slow reply. I haven't been very active on the forums recently. You're always welcome to email me directly, too.

    You actually need to target the styling of the link itself, not just the list item holding it. You'd want something like:

    .nav-secondary .genesis-nav-menu li a {
        font-family: 'Amatic SC';
        font-size: 22px;
        font-weight: 400;
        text-transform: uppercase;
    }

    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    October 31, 2014 at 12:51 am #129967
    nomad_jess
    Member

    Thank you so much, Lauren!

    That worked perfectly!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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