• 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 Sample Child Theme version 2.9.1

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 Sample Child Theme version 2.9.1

This topic is: not resolved

Tagged: menu

  • This topic has 2 replies, 3 voices, and was last updated 6 years, 2 months ago by Arshad Noor.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 28, 2019 at 5:12 am #490325
    Andreas Beer
    Member

    Does anybody have a recipe for a sticky menu for the current sample child theme?

    March 28, 2019 at 5:42 am #490328
    Victor Font
    Moderator

    To make a menu sticky, you add position: fixed; to its CSS.

    Using position: fixed, layers the fixed element on top of all other content, of front to back along the z-axis as the case may be. Think of it as stacking one sheet of paper on top of another.

    The front-most layer (the fixed element) will hide the content below it. So you have to move the lower content down by changing it's top margin to accommodate the height of the menu container.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 31, 2019 at 1:53 am #490374
    Arshad Noor
    Member

    I also designed a simple sticky menu for my blog. first, take a look on my site. If you like contact me I will give you codes.


    BloggingHindi

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