Skip to header Skip to main navigation Skip to main content Skip to footer
Cookies UI
Site branding
Alaa Haddad - Drupal Expert
Consultant • Architect • Developer • Themer - Expert Drupal Solutions
Main navigation
Alaa Haddad Offers Exceptional Drupal Custom Theming and Modules in Austin TX Alaa Haddad - Drupal Expert
  • Professional Profile
  • Drupal Services
    • Drupal Development
    • Drupal Developer
    • Drupal Themer
    • Drupal Architect
    • Drupal Consultant
  • My Drupal Modules & Themes
      • Cloudflare Purge
      • Solo Copy Blocks
      • W3CSS Paragraphs
      • Paragraphs Bundles
      • Acquia Purge Varnish
      • Reference Blocked Users
      • Module Matrix
      • Paragraphs Bundles Import
      • Selectify
      • Solo Utilities
      • Utilikit
      • Solo
      • Amun
      • Anhur
      • Amunet
      • W3CSS Theme
      • 3D Carousel
      • 3D FlipBox
      • Accordion
      • Carousel
      • Hero
      • Lightbox
      • Parallax
      • Reveal
      • Slideshow
      • Tabs
  • Blog
  • Videos
  • Contact
  • Hire Me (opens in new tab)

How to create Horizontal or Vertical Menu,

Breadcrumbs

Breadcrumb

  • Home
  • How to create Horizontal or Vertical Menu,

Main page content

Alaa Haddad, professional Drupal developer based in Austin, TX   Alaa Haddad
  1:11 PM CDT, Wed September 16, 2026
Share

By the end of this video you can flip your main navigation between a full-width bar across the top and a sliding side panel, by moving one block from one region to another. No template editing is involved.

Two regions, one decision

W3CSS Theme offers the main navigation two homes among its 22 regions. Drop a menu block into Primary Menu and you get the horizontal bar. Drop it into Primary Menu Vertical and you get a W3.CSS sidebar instead. Both are ordinary block regions at /admin/structure/block, and nothing stops you filling both at once with two different menus.

How each one behaves

  • Horizontal renders as #main-navigation-h, a coloured band spanning the viewport with the links constrained to your chosen site width. Below the theme's large breakpoint a hamburger button takes over, marked w3-hide-large in the markup.
  • Vertical renders as #main-navigation-v carrying w3-sidebar w3-bar-block w3-animate-left, so it slides in from the left edge. A button opens it and a matching close button dismisses it; both are always present, on every screen size.

Opening the side panel from the right instead

  1. Create a sub-theme and copy templates/layout/page.html.twig into it.
  2. On the line containing main-navigation-v, change w3-animate-left to w3-animate-right.
  3. On the line containing open-nav-inner, change w3-left to w3-right.
  4. Add #main-navigation-v.w3-sidebar{right:0;} to the sub-theme stylesheet and rebuild caches.

A vertical main menu is not a side menu

This is the distinction the documentation is emphatic about. A vertical main menu is your site's primary navigation, living in its own region. A secondary menu parked in a sidebar is a different object with different templates: clone menu--responsive-h.html.twig or menu--responsive-v.html.twig from templates/navigation and rename it after your menu.

Both navigation regions exist unchanged across Drupal 9 to 12, the range in the theme's info file — see the W3CSS Theme project page. If you want the sidebar pattern with a different page layout on top of it, the Anhur sub-theme is built on this same parent.

Planning something larger than a single feature — a rebuild, or a move off an older Drupal? Drupal architecture services, or request a quote.

W3CSS Theme

Our mission is to make Drupal more accessible and user-friendly, empowering businesses of all sizes, especially small enterprises with powerful tools that streamline content customization and enhance digital experiences.

Need help with your Drupal project? Hire Me through Flash Web Center, LLC.

Search

The Drupal 11 Module and Theme Stack, With Versions Checked

ARIA Live Regions in Drupal 11: What Core Does, What You Add

Drupal Architect: The Decisions Expensive to Reverse

Drupal Services: Development, Theming, Upgrades | Austin TX

Paragraphs Bundles

Drupal Module - Paragraphs Bundles

Drupal Theme - Solo

Drupal Theme - Solo

Drupal Work List - Drupal Work

Solo Utilities (Drupal Module)

Reference Blocked Users (Drupal Module)

Solo Copy Blocks (Drupal Module)

Views Hero (Drupal Module)

Amun - W3CSS Sub-Theme (Drupal Theme)

Drupal Theme - W3CSS Theme

Drupal Theme - W3CSS Theme

Drupal Module - W3CSS Paragraphs

Drupal Module - W3CSS Paragraphs

Inspiration

Inspiration is the fuel that powers our creative engine, often coming from our surroundings, experiences, or the works of others. It's that magical moment when something clicks inside your brain, and you suddenly see a path forward that you hadn't noticed before. Inspiration can strike at any time, providing the motivation and energy needed to explore new possibilities and bring your ideas to life.

Unique Ideas

Unique Ideas

Unique ideas are the seeds of innovation, representing original thoughts or concepts that stand out from the usual. They're the sparks that ignite the process of creating something new and different, often leading to unexpected and groundbreaking solutions or products. Whether in art, science, business, or technology, unique ideas challenge the status quo and pave the way for progress.

Brainstorming

Brainstorming

Brainstorming is a creative group activity designed to generate a large number of ideas or solutions to a problem. It's a free-flowing and open-ended discussion where every suggestion is welcomed and considered, no matter how outlandish it may seem. Brainstorming encourages thinking outside the box, fostering an environment where creativity and collaboration lead to innovative solutions.

Planning

Planning

Planning is the blueprint for turning your ideas into reality. It involves setting goals, outlining steps, and organizing resources in a way that makes achieving your objectives possible. Good planning considers potential challenges and opportunities, making it easier to navigate the journey from concept to completion. It's about preparing the groundwork so that your projects can grow and flourish.

Drupal Developer

A Drupal Developer stands as the technical powerhouse behind dynamic websites, wielding expertise in PHP, custom module development, and Drupal's sophisticated API ecosystem. This role transforms business requirements into functional, secure, and scalable web solutions that power everything from small business sites to enterprise platforms serving millions of users. A Drupal Developer's expertise spans the entire development lifecycle—from architecting custom modules and integrating third-party services to optimizing performance and ensuring security compliance. Discover the complete guide to Drupal Developer skills, career paths, and hiring strategies.

Drupal Themer

A Drupal Themer serves as the artistic craftsperson who transforms wireframes and design mockups into pixel-perfect, accessible, and responsive user experiences using Twig templates, CSS, and JavaScript. This specialized role bridges the gap between design vision and technical implementation, ensuring every website not only looks exceptional but performs flawlessly across all devices and meets WCAG accessibility standards. A Drupal Themer's work encompasses the entire front-end ecosystem—from creating custom theme architectures and optimizing Core Web Vitals to implementing complex responsive designs and ensuring seamless integration with Drupal's rendering system. Explore the comprehensive guide to Drupal Themer expertise, theming best practices, and career advancement.

Drupal Architect

A Drupal Architect emerges as the strategic visionary of web construction, armed with encyclopedic knowledge of enterprise architecture patterns, infrastructure design, and Drupal's extensive technological ecosystem. This senior role operates at the highest technical level, making critical decisions that determine whether complex implementations scale successfully or collapse under real-world demands. A Drupal Architect's responsibilities begin long before development starts—during strategic planning phases where the foundation for secure, performant, and maintainable systems is established through careful evaluation of technology stacks, integration strategies, and scalability requirements. Learn about Drupal Architect skills, enterprise architecture strategies, and career progression to principal roles.

Footer menu

  • Contact
  • Professional Resume
  • Resume Summary
  • Technical Skills
  • Privacy Policy
  • Terms & Conditions
  • Search
  • Login
  • Sitemap

Copyright © 2026 Flash Web Center, LLC - All rights reserved

Developed & Designed by Alaa Haddad