Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 788461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:22:07+00:00 2026-05-14T21:22:07+00:00

This is not a CSS problem. The HTML isn’t there. I need the menu,

  • 0

This is not a CSS problem. The HTML isn’t there. I need the menu, with submenus to exist in HTML on EACH page. Right now, the submenu only exists in HTML for the submenu related to the page being currently viewed. Here’s an example of what it SHOULD be like.

<ul id="menu">
    <li>Page1
        <ul class="sub">
            <li>sub1.1</li>
            <li>sub1.2</li>
            <li>sub1.3</li>
            <li>sub1.4</li>
        </ul>
    </li>
    <li>Page2
        <ul class="sub">
            <li>sub2.1</li>
            <li>sub2.2</li>
            <li>sub2.3</li>
            <li>sub2.4</li>
        </ul>
    </li>
    <li>Page3
        <ul class="sub">
            <li>sub3.1</li>
            <li>sub3.2</li>
            <li>sub3.3</li>
            <li>sub3.4</li>
        </ul>
    </li>
</ul>

But here is what is actually happening (say I’m currently viewing Page2):

<ul id="menu">
    <li>Page1</li>
    <li>Page2
        <ul class="sub">
            <li>sub2.1</li>
            <li>sub2.2</li>
            <li>sub2.3</li>
            <li>sub2.4</li>
        </ul>
    </li>
    <li>Page3</li>
</ul>

Additionally, and maybe this doesn’t have anything to do with it, but whichever list item <li> element is relative to the page i am currently on is given these classes expanded active-trail and any other <li> is given collapsed class.

The classes aren’t really so much of an issue, the problem is just that the content (html) isn’t there.

Does anyone have any idea what’s going on here. I feel like I’ve been digging in the Drupal Admin menus forever now. I feel like it’s got to have a PHP solution in the template file or something, but I don’t know Drupal super well at this point.

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:22:08+00:00Added an answer on May 14, 2026 at 9:22 pm

    I believe you can set it to be expanded in the Menu Administration page.

    1. Head to the page (Administer › Site building › Menus , or http://[drupal address]/admin/build/menu).
    2. Choose the Menu you want to work on (you can try it out on the Navigation menu).
    3. In check the checkboxes under Expanded for the submenus that you want to appear expanded. (In your example above, Page 1, Page 2, Page 3 should all have their Expanded checkbox checked, not the sub-items)
    4. Save the configuration.

    That’s it. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 512k
  • Answers 512k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Sure : IIS AccessSSLFlags property contains these informations. If AccessSSL… May 16, 2026 at 5:29 pm
  • Editorial Team
    Editorial Team added an answer If you are using the emulator, you can debug panics… May 16, 2026 at 5:29 pm
  • Editorial Team
    Editorial Team added an answer This is correct behavior; attributes in HTML tags should be… May 16, 2026 at 5:29 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I need some HTML/CSS guidance. My goal is to create a contacts list screen
My 9-5 job is as a software engineer so this usually isn't a problem
I'm not expert in CSS in any way; I know it to some extent
I'm trying to make this look pretty, but I've run into a problem. I
I have an HTML page. I have created a frame using background repeat function.
I'm posting this because I am going crazy. I have a page where the
I have this strange issue with css hover, on chrome and safari (on opera
On my page I got the following user control: <div class=editFormDialog style=display: none; font-size:
So I have a problem that I think is quite common but I have
I am trying to replicate Apple's navigational menu bar they use for their primary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.