Documentation
Nickarce.com
  • ⏳Changelogs
    • Mega Menu Template
  • 📃Docs
    • Mega Menu Template
      • Getting Started
        • Importing Template
        • Add Your Logos
        • Navigation Items
        • Importing Mega Dropdown Template
        • Dropdowns
          • Menu Dropdowns
          • Mega Dropdowns
        • Mobile
      • How To's
        • Change Mega Dropdown Container Width
        • How to Change Back Button Text
        • Add Scrollbar On Mobile Menu
        • Adding Custom CSS
        • Change Dropdown Activation Toggle
        • How to Query Loop Over Menu Dropdown
Powered by GitBook
On this page
  1. Docs
  2. Mega Menu Template
  3. How To's

Adding Custom CSS

Within the SCSS sheet there is an area designed to give you the boilerplate for your custom CSS. Here there are preset areas to help you target items in your DOM depending on the state of the menu.

  1. Targeting the menu globally

  2. Targeting the menu when its specifically not mobile

  3. Targeting the menu when its at the breakpoint

  4. Targeting the menu when its open on mobile

/* ----------------------YOUR CUSTOM CSS--------------------- */




// Global Mega Menu Styling
.mm {

    //nest items here

}

// Specifically Not Mobile Menu
.mm:not(.brx-open) {

    //nest items here

}

// Mega Menu Styling Only At Breakpoint
@media (max-width: $navigation-breakpoint) {

    .mm {

        //nest items here

    }

}

// Mega Menu Styling On Mobile Menu
.mm.brx-open {

    //nest items here

}




/* -----------------------END OF YOUR CUSTOM CSS-------------------- */
PreviousAdd Scrollbar On Mobile MenuNextChange Dropdown Activation Toggle

Last updated 2 months ago

📃