• 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

Change menu font and background color on media screens only

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 › Change menu font and background color on media screens only

This topic is: not resolved

Tagged: media queries

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 3 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 14, 2016 at 4:04 pm #181433
    londondeb
    Member

    Education Pro Vs 3.0.0

    I have a site where I'm using Font Awesome for menus and have styled the Primary navigation to use a dark blue background with white icons and text. On media screens the menu's drop down over top of white space on the page so they don't show up well enough.

    How do I change the font-awesome icon and text color on Primary navigation but only for media screens?

    Thanks,
    Debra

    http://legalnursebusiness.com
    March 14, 2016 at 7:57 pm #181440
    Brad Dalton
    Participant

    Wrap your CSS rules in a media query

    @media only screen and (max-width: 800px) {
    
    Your CSS Rules
    
    }
    

    Tutorials for StudioPress Themes.

    March 15, 2016 at 2:09 pm #181471
    londondeb
    Member

    Thanks for the help Brad - this is what finally worked I needed an extra set of { } in there to make it "stick"


    @media
    only screen and (max-width: 768px) {
    .nav-primary .genesis-nav-menu.responsive-menu li a {
    background: none;
    color: #000;
    }
    }


    @media
    only screen and (max-width: 768px) {
    .nav-primary .genesis-nav-menu.responsive-menu li a:hover {
    background: none;
    color: #e44a3c;
    }
    }

    March 15, 2016 at 10:01 pm #181494
    Brad Dalton
    Participant

    Good stuff!


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

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