Solved

My suckerfish menu expands behind slide show on front page

Posted on 2010-08-16
5
676 Views
Last Modified: 2012-05-10
Hi
I am struggeling with a joomla site: http://new.plastikkirurgi-glostrup.dk/

In IE 8 the drop dowm menu falls behind the front page slide show
In Firefox it works correct

I have looked high and low for answers and I tried to follow another guide i found:


So, here's what you can do.
You need to add a container div that wraps your menu. Open your template's index.php file and look for the place where the menu is called. It should be something like:


Code:
<div id="nav">***menu code here***</div>
So, add a "wrapper" div, like so:


Code:
<div id="menu-container"><div id="nav">***menu code here***</div></div>
And then in your template's CSS file (template_css.css), add the following code snippet:


Code:
#menu-container {position:relative;z-index:99;}
This should fix any issues.


but as I am very new to this I am not sure how I can implement this on my page.
I cant find any <div id="nav"> or anything else close to it

Does anyone have experinece with this?
In my template can anyone see what calls the menu and where I should but in the code suggested on the link above, or is there another solution

Hope anyone can help me in the right direction


0
Comment
Question by:morten444
[X]
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
5 Comments
 
LVL 8

Expert Comment

by:austega
ID: 33450140
Hi, this should help.

Look for <div class="topmenu"> rather than nav.

And the CSS file appears to be screen.css or possibly custom_css.css in the http://new.plastikkirurgi-glostrup.dk/templates/mp_minimaltastic/css/ folder.



0
 
LVL 4

Accepted Solution

by:
Morrisproject earned 500 total points
ID: 33453211
It is because of z-index.

The parent items needs to have a higher z-index for IE to display correctly.

Add this to your CSS:
ul#nav li ul {z-index:1000;}
ul#nav li {z-index:2000;}
ul#nav {z-index:3000;}
0
 

Author Comment

by:morten444
ID: 33458946
Hi Thanks for advice on lines to addng the suggested lines to CSS

I tried it but still no joy.
I am quite new to this but belive I have done it corret

First I just pasted the 3 lines at the end of my CSS, no joy
I then integrated it into the all ready existing onces like this:

--------------------------
ul#nav { /* all lists */
      list-style: none;
        z-index:3000;
       
}


ul#nav li { /* all list items */
      float: left;
      position: relative;
        z-index:2000;
}


ul#nav li ul { /* second-level lists */
      display: none;
      position: absolute;
      top: 10px;
      left: 0;
      padding:0;
      margin:0;
      z-index: 1000;
}
-----------------------------------------

Can you see anything else that can cause it or have I done it wrong?

Regards
Morten




0
 
LVL 11

Expert Comment

by:Amanda Watson
ID: 33460844
You must have done it right because its working now
0
 

Author Closing Comment

by:morten444
ID: 33461360
Working fine now. Thanks
Its still a little "unstable" but i think that is due to a transparent border between each drop down category, so If i hold the mouse between 2 kategories, the menu folds back again.  I will sort that out

Thanks again
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

626 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