[Support request] Editing the Sticky Menu Height ONLY for mobile

Home Forums Support [Support request] Editing the Sticky Menu Height ONLY for mobile

Home Forums Support Editing the Sticky Menu Height ONLY for mobile

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #369611
    Jefri

    Hi guys,
    I have used this CSS so I can adjust the height of the sticky mobile menu:

    .main-navigation.navigation-stick {
    background-color: #000;
    height: 100px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;

    }

    This works in changing the mobile sticky menu height. BUT it ALSO changes the sticky menu height for a desktop.

    Is it possible to change ONLY the sticky MOBILE menu height and NOT affect the desktop version?

    Thanks heaps.

    #369618
    Leo
    Staff
    Customer Support

    Hi there,

    Are you using navigation as header? If so you should be able to adjust them in the customizer.

    Sticky navigation height on desktop would be here: https://docs.generatepress.com/article/sticky-navigation/#menu-item-height

    Mobile would be the menu item height with mobile toggle: https://docs.generatepress.com/article/menu-item-height-width/#height

    Let me know.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.