Solved

Help moving my menu down

Posted on 2015-02-15
6
118 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
  • 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
Independent Software Vendors: 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!

 
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

Independent Software Vendors: 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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

726 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