[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 123
  • Last Modified:

Help moving my menu down

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
Amanda Watson
Asked:
Amanda Watson
  • 3
  • 2
1 Solution
 
Edwin HofferTechnical ExpertCommented:
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
 
Mandeep SinghDatabase AdministratorCommented:
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
 
Amanda WatsonAuthor Commented:
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
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!

 
Amanda WatsonAuthor Commented:
Perfect, thanks
0
 
Edwin HofferTechnical ExpertCommented:
Hello snowball,

The ans I have given is not worked for you?

Thanks
Edwin
0
 
Amanda WatsonAuthor Commented:
no, it didn't work at all which is why I tried the second option thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now