Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 31, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 31, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 31, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 31, 2025

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025

      Elden Ring Nightreign already has a duos Seamless Co-op mod from the creator of the beloved original, and it’ll be “expanded on in the future”

      May 31, 2025

      I love Elden Ring Nightreign’s weirdest boss — he bargains with you, heals you, and throws tantrums if you ruin his meditation

      May 31, 2025

      How to install SteamOS on ROG Ally and Legion Go Windows gaming handhelds

      May 31, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Oracle Fusion new Product Management Landing Page and AI (25B)

      May 31, 2025
      Recent

      Oracle Fusion new Product Management Landing Page and AI (25B)

      May 31, 2025

      Filament Is Now Running Natively on Mobile

      May 31, 2025

      How Remix is shaking things up

      May 30, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025
      Recent

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025

      Elden Ring Nightreign already has a duos Seamless Co-op mod from the creator of the beloved original, and it’ll be “expanded on in the future”

      May 31, 2025

      I love Elden Ring Nightreign’s weirdest boss — he bargains with you, heals you, and throws tantrums if you ruin his meditation

      May 31, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Creating a Mega Menu using Acquia Site Studio

    Creating a Mega Menu using Acquia Site Studio

    January 21, 2025

    Mega menus are an expandable menu feature with a multitude of options within a single interface, utilizing a dropdown format.

    Mega menu designs can vary in complexity. They are particularly beneficial for managing a considerable amount of content or providing a quick overview of a sub-category of pages.

    Mega Menu Img 1

    Steps to create:

    Required:

    Acquia Site Studio: (https://www.acquia.com/drupal/site-studio) 

    Menu Item Extras module: (https://www.drupal.org/project/menu_item_extras)

    Adding a field to your menu:

    A field can be added to the menu through the “Structure -> Menus” section. To initiate this process, you must edit your existing menu or create a new one. Once in the menu editor, the next step is to add a field. This field can be of any type based on your requirements.  

    Since this is a Site Studio example, we’re going to choose a “Site Studio – Layout Canvas” field. This way we’re able to drop any component into the menu.

    Mega Menu Img 2

    Adding content to your new menu field:

    Depending on the type of field you are using, you may need to edit the “Manage Display” options for that specific field. 

    In our example, we associate the mega menu “content” with the first-level menu item.  

    This menu item functions as the designated location for displaying your content. So, that’s the exact menu item where you should add your content.

    Mega Menu Img 7

    Mega Menu Img 3


    Rendering your menu item field on a Site Studio menu template:  

    To learn more about creating a multi-level menu, refer to Acquia’s documentation here. 

    Begin by building your menu structure. Once you have the menu structure in place, identify the location where you want your layout canvas field to be displayed within the menu. In our example, we are placing the second-level menu AND our “layout canvas” field inside the first level of the menu. 

    The wrapper will act as a dropdown that will be toggled.

    Mega Menu Img 4

    You can utilize various elements to insert your “content” from your Drupal menu. For this example, we will use the Inline element.

    Mega Menu Img 5

    Adding your token to the inline element:

    Next, we’ll need to locate the token associated with the field we added to our menu item. 

    Within your element, use the token browser to locate the token under the “Custom menu link” dropdown. In our example, we called it “Mega Menu Canvas”. 

    Mega Menu Img 6

    Save the menu template and refresh your website. Hover over the parent menu item to which you added the mega menu! 

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleData Structures & Algorithms in Swift [SUBSCRIBER]
    Next Article TeamSpeak is back and ready to fight Discord for the PC community app crown

    Related Posts

    Security

    New Linux Flaws Allow Password Hash Theft via Core Dumps in Ubuntu, RHEL, Fedora

    June 1, 2025
    Security

    Exploit details for max severity Cisco IOS XE flaw now public

    June 1, 2025
    Leave A Reply Cancel Reply

    Hostinger

    Continue Reading

    Lions Wearing Apple Watches: Revolutionizing Wildlife Heart Rate Monitoring

    Artificial Intelligence

    UAC-0063 Expands Cyber Attacks to European Embassies Using Stolen Documents

    Development

    CVE-2025-31327 – SAP Field Logistics Manage Logistics Data Tampering Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    AlphaProteo generates novel proteins for biology and health research

    Artificial Intelligence

    Highlights

    Artificial Intelligence

    Last Week in AI #304 – OpenAI Audio, Ernie 4.5, Claude Websearch

    March 24, 2025

    Top News OpenAI Unveils New Audio Models to Make AI Agents Sound More Human Than…

    Top 5 AI-Powered Social Engineering Attacks

    January 31, 2025

    Transformers 4.42 by Hugging Face: Unleashing Gemma 2, RT-DETR, InstructBlip, LLaVa-NeXT-Video, Enhanced Tool Usage, RAG Support, GGUF Fine-Tuning, and Quantized KV Cache

    June 29, 2024

    Some of my favorite FPS games are getting big remasters next week, and you’ll get them free if you own the originals

    May 15, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.