• 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

Submenu CSS Change per 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 › Submenu CSS Change per menu-item

This topic is: not resolved

Tagged: css, lifestyle, menu

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 6 months ago by asdweb.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 6, 2013 at 3:10 pm #24619
    indiedog
    Member

    Hello Friends:

    I am using the Lifestyle theme.

    I have added CSS to style each main menu item as a different color:

    #menu-item-814 a {
    background: #e55a17; !important;
    color: #fff;
    }
    #menu-item-814 a:hover {
    background:#fff; !important;
    color:#e55a17;
    }

    I would like the pages that drop down under each to have the same style as the hover properties and am wondering if there isĀ  a way that can be done without styling each individual menu item.

    My site: http://test1.moragareid.com/

    Thanks

    Morag Reid

     

    March 11, 2013 at 10:50 am #25471
    asdweb
    Member

    Probably via php, but it looks like you did what you set out to do successfully via CSS.


    Amy Susan Design.com @AmySusanDesign

    March 11, 2013 at 10:57 am #25473
    indiedog
    Member

    I was able to do it on the top-level menu but not on the sub-level. Thanks anyway.

    Anyone else like to weigh in?

    March 11, 2013 at 11:24 am #25479
    asdweb
    Member

    Are you saying you would like the rollovers (sub level) links to be the same color as the top level background?


    Amy Susan Design.com @AmySusanDesign

  • 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

© 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