Solved

Help moving my menu down

Posted on 2015-02-15
6
119 Views
Last Modified: 2015-02-16
Hi There,
On this site here http://www.xfactorideas.com.au/newbcplastics/  you will notice the sub menu and tertiary menu is starting too high....Can anyone help in my css how I can drop that secondary menu to fit nicely under their parent menu?
Thanks
0
Comment
Question by:Amanda Watson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 14

Expert Comment

by:Edwin Hoffer
ID: 40611649
Hello snowball77,

In ".main-navigation ul ul a" class update "width: to "300px" and "padding" to "0px 20px;"

And in ".main-navigation a" class remove "padding"

Hope that helped you

Thanks
Edwin
0
 
LVL 6

Accepted Solution

by:
Mandeep Singh earned 500 total points
ID: 40611719
Hi,

try these,

.main-navigation ul ul a {
width: 200px;
/* padding: 15px 20px; */
padding-top: 3px;
}

and

.main-navigation ul ul {
position: absolute;
top: 100%;
left: 0;
background: #464646;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
box-shadow: 0 1px 2px rgba(0,0,0,0.15);
opacity: 0;
pointer-events: none;
-webkit-transition: all 0.35s ease;
-moz-transition: all 0.35s ease;
-o-transition: all 0.35s ease;
transition: all 0.35s ease;
visibility: hidden;
z-index: 99999;
margin-top: 10px;
}
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 40613287
Thanks Mandeep, your solution works.
There is just one problem, I need the submenu to drop down maybe 3px lower.
Also when you look at some of the submenus, they are not dropping to a second line rather over writing on themselves?
Can you help with this problem?
I can start another question if you would like?
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 11

Author Closing Comment

by:Amanda Watson
ID: 40613385
Perfect, thanks
0
 
LVL 14

Expert Comment

by:Edwin Hoffer
ID: 40613483
Hello snowball,

The ans I have given is not worked for you?

Thanks
Edwin
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 40613535
no, it didn't work at all which is why I tried the second option thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question