WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
[resolved] Stick menu on mobile menu (8 posts)

  1. Jorge A. Gonzalez
    Member
    Posted 1 year ago #

    What is the best way to "stick" the menu on scroll for the mobile menu?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

  3. Jorge A. Gonzalez
    Member
    Posted 1 year ago #

    What class/id controls the menu?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Do you have anything in the dashboard named, "Custom CSS", "Custom Styles" or "Jetpack"?

  5. Jorge A. Gonzalez
    Member
    Posted 1 year ago #

    Na, its a fresh install.

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    Download (and install) this Custom CSS Manager plugin and in its allocated section of the dashboard, enter this;

    @media screen and (max-width: 650px) {
     .sb-holder {
      position: fixed;
     }
     .home #wrapper {
      top: 35px;
     }
    }
  7. Jorge A. Gonzalez
    Member
    Posted 1 year ago #

    Why not just do that in the css file?

    Menu sticks, but looks like I need to modify a bit.

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    • When the theme updates, you'll lose your changes
    • Debugging becomes harder as you can't differentiate between your styles and the theme's original styles easily
    • You can potentially harm the theme by modifying its original files

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.