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

  • Home
  • SEARCH
  • 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 8272899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:17:11+00:00 2026-06-08T07:17:11+00:00

I have a CSS Dropdown menu and I am struggling with customizing it for

  • 0

I have a CSS Dropdown menu and I am struggling with customizing it for different levels. For example, what you see on first drop down is level 1, and next drop down from out of that is level 2. I want to customize things for different levels.

div#dropMenu li.submenu
{
     background: url(../images/arrows/arrow11.png) no-repeat 99% 99%;
}

div#dropMenu li.submenu:hover
{
     background: url(../images/arrows/arrow9.png) no-repeat 99% 99%;
}

Above code puts an image of an arrow if you have a submenu item. This is working fine, however, I don’t want it on the top menu, I want it just on first drop down and forward. How can I specify it? I tried ‘div#dropMenu li.level1.submenu’ and it doesn’t work.

Here I posted rest of the CSS sheet:

div#dropMenu {
   width:1000px;
   margin:0px 0px;
   text-align:center;
   z-index:1000;
   position:relative;
}
div#dropMenu ul {
   border-left: 1px solid #333;
   margin:0;
   padding:0;

}


div#dropMenu li {
   border-right: 1px solid #999;
   position:relative;
   list-style:none; 
   margin:0; 
   float:left; 
   line-height:1em;
   width:19.90%;
   /**width:16.55%;*/
}
div#dropMenu ul.level1 {
   width:100%;
   margin:0 auto; 
   text-align:left;
   background: url(../images/menu_bg.png) repeat-x;  margin-top: 0px; color: #fff;/*background color of top menu when NOT selected. */
   z-index:1000;
   float:left;
}


div#dropMenu ul.level2 li {
   padding-top: 6px;
   border-top: 1px solid #999999;

}
div#dropMenu li a {
   display: block;
   /* Hides from IE5-mac \*/
   height: 1%;
   /* End hide from IE5-mac */ 
   padding: 15px 0px 10px 0px; 
   text-decoration: none; 
   color: #555;
   font-size: 13px; 
   -webkit-font-smoothing: antialiased;
   text-align:center; 
   font-weight: bold;
   border-right: 0px solid ;
}   
div#dropMenu li:hover {}
div#dropMenu li.submenu:hover {}
div#dropMenu li a.noLine {
   border:none;
}

div#dropMenu>ul a {
   width: auto;
   z-index:1000;
}
div#dropMenu ul ul {
   display: none;
}
div#dropMenu ul ul li {
   width:16.5em;
}
div#dropMenu ul.level1 li.submenu:hover ul.level2, 
div#dropMenu ul.level2 li.submenu:hover ul.level3,
div#dropMenu ul.level3 li.submenu:hover ul.level4,
div#dropMenu ul.level4 li.submenu:hover ul.level5,
div#dropMenu ul.level5 li.submenu:hover ul.level6,
div#dropMenu ul.level6 li.submenu:hover ul.level7,
div#dropMenu ul.level7 li.submenu:hover ul.level8 {
   position: absolute; 
   width: 12em;
   display:block;
   z-index:1000;
   width: 16.5em;
}
  • 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-06-08T07:17:12+00:00Added an answer on June 8, 2026 at 7:17 am

    This should do it

    #dropMenu li li {
         background: ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a CSS dropdown menu, but when it drops down, it is
I have a drop down menu created purely with CSS. I would like to
I have a CSS dropdown menu that is functioning how I want it to
I have a problem with the positioning of a pure css dropdown menu. You
I have a custom styled drop-down selection box created with CSS/Javascript, which is meant
I want to create a Dropdown menu where I have 3 level, I have
I have a dropdown css menu that gets gets hidden behind the main page
I have a web page with a CSS dropdown navigation menu. My issue is
I have this CSS dropdown menu. I want the homepage to start on the
I have coded a css dropdown menu. But when I hover over the parent

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.