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
Solved

Help moving my menu down

Posted on 2015-02-15
6
117 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wordpress French and English Site 6 77
Wordpress Security 29 48
jQuery Toggle & Anchor Links 5 43
$_SERVER Variable question 31 29
Find out what you should include to make the best professional email signature for your organization.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

838 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