Solved

Preventing Menu from moving down when click on item

Posted on 2013-12-01
8
186 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
ID: 39688807
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
ID: 39688876
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
ID: 39688966
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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 43

Assisted Solution

by:Chris Stanyon
Chris Stanyon earned 250 total points
ID: 39689833
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
 
LVL 9

Author Comment

by:Rowby Goren
ID: 39689851
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
ID: 39689883
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 43

Expert Comment

by:Chris Stanyon
ID: 39689896
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
ID: 39699364
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create a 3-column full-width flex button layout 1 30
jQuery detect if it is a mobile device 3 185
Change javascript css 1 30
Changing Color of Page Section 4 21
Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

776 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