• 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

Sticky Menu and Mobile Menu Javascripts Conflicting?

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 › Sticky Menu and Mobile Menu Javascripts Conflicting?

This topic is: not resolved

Tagged: conflict, javascript, mobile menu, sticky menu

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 3 months ago by JanHoek.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 24, 2014 at 12:51 pm #115738
    horizonsofchaos
    Participant

    Hey everyone, I'm working on a theme and I'm trying to utilize a sticky menu for normal browser use, and a mobile menu for mobile use. The sticky menu for normal browser use worked great to start. I added the mobile menu later and once I did that, the sticky menu started flickering when I start to scroll, as well as showing before it's called in the javascript. I'm guessing there is a conflict between the two scripts but I'm not sure how to fix it. Has anyone else run into this issue before, or is there a better way to accomplish this than the two javascript methods?

    Sticky Menu tutorial used: http://my.studiopress.com/tutorials/sticky-menu/

    Mobile Menu tutorial used: http://ozzyrodriguez.com/tutorials/genesis/genesis-responsive-menu-2-0/

    http://monstermagicmt.com/test2/
    August 9, 2014 at 11:11 am #117925
    JanHoek
    Participant

    Try to add !important after the opacity like

    .nav-secondary {
    background: url(images/nav.png) repeat-x top;
    display: none;
    position: fixed;
    width: 100%;
    height: 38px;
    z-index: 999;
    box-shadow: #000 0px 3px 3px;
    opacity: 1 !important;
    }

    Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.

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

© 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