Solved

Preventing Menu from moving down when click on item

Posted on 2013-12-01
8
178 Views
Last Modified: 2013-12-05
Hello!

This should be a simple one. But I an unable to use firebug to troubleshoot it on my own.

In my next question I will post a link to the page.

When you click an item on the top menu, such as "ABOUT", the entire menu goes down until you release the mouse.

The same thing happens on the submenu. So I guess there's some global css issue going on with padding or margins.

I assume a click on a menu item is an ACTIVE link???  Or am I assuming wrong.

Anyway, look for my link in my next comment.

Thanks

Rowby
0
Comment
Question by:Rowby Goren
  • 5
  • 2
8 Comments
 
LVL 9

Author Comment

by:Rowby Goren
Comment Utility
Hi

Here's the link to a redirect to the development site:  Redirect to development site.

Thanks

Rowby
0
 
LVL 58

Accepted Solution

by:
Gary earned 250 total points
Comment Utility
custom.css line 687

div#OurGalaxiesHASOMMobile h3 h1, a:active, div.custom._GalaxiesEtc, YourDirectionsHASOMDesktop h1 a:hover {
    font-size: 32px;
    font-weight: 100;
    text-transform: capitalize;
}


The font size and/or font-weight is forcing the drop
0
 
LVL 9

Author Comment

by:Rowby Goren
Comment Utility
Thanks, Gary123,

I zapped that entire section of css and that helped quite a bit.  (it was left over css that I didn't need.  

Just a tiny pixel or two drop down left.  And I think it's also affecting the dropdowns, when you click on them.

Almost there!!

Rowby
0
 
LVL 42

Assisted Solution

by:Chris Stanyon
Chris Stanyon earned 250 total points
Comment Utility
This is still creating the shift:

custom.css - line 347

div.moduletable._GalaxiesEtc, p a:link, a:visited, a:active {
    font-size: 18px;
}


You probably want to remove the a:visited as well
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 9

Author Comment

by:Rowby Goren
Comment Utility
Thanks,  ChrisStanyon,

That fixed it.  I'll keep this question open just in case other related "shifts" pop up. But I think it's okay now.

Rowby
0
 
LVL 9

Author Comment

by:Rowby Goren
Comment Utility
Hi

THere are 4 "departments" on this site and each is a different template.

Two of the departments are ok so far as menu shifting.

I tried to fix the following using the same style modifications, but the main menu shifts down a couple of pixels, as does the drop down menu.

I have tried firebug but even when  clicking the down arrow for active hover, I keep missing the issue ! :)

Hopefully fixing this second one will help me fix the 3rd "department" on my own !!

Redirect to "Musicology" site.
Thanks

Rowby
0
 
LVL 42

Expert Comment

by:Chris Stanyon
Comment Utility
It's exactly the same issue:

custom.css - line 516

div.moduletable._GalaxiesEtc, p a:link, a:visited, a:active {
    font-size: 18px;
}
0
 
LVL 9

Author Closing Comment

by:Rowby Goren
Comment Utility
Hi Gary and Chris,

The fix worked.  Sorry for the delay.  I am going to try to award the points without giving a "Best Solution".  But I don't think EE will let me do that.  You equally gave best solutions.  So let's see what happens.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now