Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AudiDoDat

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    AudiDoDat reacted to mteam in Hover over sub menu   
    #upper_links li ul a{font-size:15px;}  
    add to end of css should do the trick
  2. Like
    AudiDoDat reacted to Alluziion in Hover over sub menu   
    That's fine, I'll try to guide you through step-by-step.
     
    In order to make a "submenu" you need to add a list to your list item so that you've got a list within a list - listception
    Like this...
     
    <ul id="upper_links"> <li><a href="" class="active">Home</a></li> <li><a href="">Services</a> <ul> <li><a href="">Service 1</a></li> <li><a href="">Service 2</a></li> <li><a href="">Service 3</a></li> </ul> </li> <li><a href="">Products</a></li> <li><a href="">Offers</a></li> <li><a href="">Contact Us</a></li> </ul>  
    I've removed the <div> because it's not required.
     
    Then in the CSS you need to style it, position it, hide it and when a parent <li> is hovered, the submenu will be displayed...
     
    #upper_links { padding-left: 0px; list-style: none; padding: 0px 0px 0px 0px; margin-left: auto; margin-right: auto; width: 780px; position: relative; display: inline-table; } #upper_links li { float: left; } #upper_links li a { font: 20px Stencil; color: #FF0; font-weight: normal; text-decoration: none; text-align: center; display: block; float: left; width: 154px; height: 61px; line-height: 54px; } #upper_links li a:hover, #upper_links li .active { background: (images/active.png) center; } #upper_links li ul { display: none; position: absolute; top: 100%; } #upper_links li:hover > ul { display: block; } #upper_links li ul li { float: none; position: relative;  
    Hopefully this will help.
    I have only changed what I needed to and you may have to recentre the nav because upon changing the display to inline-table it may offset it.
     
    Hope this helps.
     
    EDIT: If you want to know why I used certain styles then just ask

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.