Page 1 of 1
Menu won't show up
Posted: Fri Jun 01, 2007 2:48 am
by merekat
I can't seem to get this menu to show up. Now sure what I'm doing wrong.
Here's the code for the template where the menu stuff is
Code: Select all
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
{metadata}
{stylesheet}{stylesheet}
<![endif]--></head></__body>
<div id="skiplink"><a href="#content">Skip to Main Content</a></div>
<div id="container">
<h1><span></span></a></h1>
<h2></h2>
<div id="rightcolumn">
<ul id="inthebooknav"><div id="navi"> {menu template='cssmenu.tpl'}
</div>
And for the Navigation: CSSMenu - Horizontal (whihc is attached to the template)
Code: Select all
#navi
{
position:absolute;
}
#navi ul
{
position:relative;
margin: 0.57em;
padding: 15px 0 15px 15px;
list-style-type: none;
color: #004076;
font-size: 22px;
font-family: georgia;
}
#navi ul li { display: inline; }
#navi ul li a
{
text-decoration: none;
padding: 15px 10px 16px 10px;
color: #004076;
font-size: 22px;
text-decoration: underline;
}
#navi ul li a:hover
{
text-decoration: none;
}
What am I missing?
Re: Menu won't show up
Posted: Fri Jun 01, 2007 5:17 am
by KO
First of all single {stylesheet} should be enough.
Secondly you missing Javascript from the template header making menu pop-out and you most likely using IE.
add it there.
I hope this helps.
Br, K
Re: Menu won't show up
Posted: Fri Jun 01, 2007 5:34 am
by merekat
I'm using Firefox. I copy and pasted your bit of code into the template but it's still not working.
This is really strange. Usually I don't have any problem with the menus but this one just won't show up.
Re: Menu won't show up
Posted: Fri Jun 01, 2007 5:42 am
by KO
What kind of source code you get around menu? Is menu manager giving out anything.
Do you have that menu template as file in /modules/MenuManager/templates ?
Re: Menu won't show up
Posted: Fri Jun 01, 2007 5:50 am
by merekat
This is the source code where the menu should be. It looks like it's working, but it doesn't show on the page.
Code: Select all
<div id="menuwrapper">
<ul id="primary-nav">
<li class="menuactive"><a class="menuactive"
href="http://www.urlhere.com/index.php?page=home" accesskey="1" title="Home Page, shortcut key=1"><dfn>1: </dfn>Home</a>
Do you have that menu template as file in /modules/MenuManager/templates ?
Which menu template?
Re: Menu won't show up
Posted: Sat Jun 02, 2007 3:36 am
by merekat
Anyone? It's still not working.
Re: Menu won't show up
Posted: Sat Jun 02, 2007 1:35 pm
by Greg
Take a look at
this post to see if it helps.
Re: Menu won't show up
Posted: Sun Jun 03, 2007 9:17 am
by Vin
merekat wrote:
This is the source code where the menu should be. It looks like it's working, but it doesn't show on the page.
Code: Select all
<div id="menuwrapper">
<ul id="primary-nav">
<li class="menuactive"><a class="menuactive"
href="http://www.urlhere.com/index.php?page=home" accesskey="1" title="Home Page, shortcut key=1"><dfn>1: </dfn>Home</a>
Uh-huh... so, the menu is in the html source output in the page, but it doesn't show up... looks like CSS problem here.
So... does the menu show up at all or are you unable to make just the children show up?
Re: Menu won't show up
Posted: Mon Jun 04, 2007 12:30 pm
by merekat
Uh-huh... so, the menu is in the html source output in the page, but it doesn't show up... looks like CSS problem here.
So... does the menu show up at all or are you unable to make just the children show up?
No, I can't get the menu to show up at all. I've done menus quite a few times this way and it's always worked before, but for some reason this time it just won't show up. I haven't a clue why.
Any other suggestions?
Re: Menu won't show up
Posted: Mon Jun 04, 2007 2:46 pm
by KO
Any possibility to have link to that site?
Re: Menu won't show up
Posted: Tue Jun 05, 2007 9:01 am
by merekat
Can you just tell me what part of the code you need to see and I'll post it here?
Re: Menu won't show up
Posted: Tue Jun 05, 2007 11:17 am
by KO
it is just much faster if checking directly site with combination of source code and css together with "web developer" or something. it also shows if some other problems like missing divs, confusing css styles, etc. But i understand that this is not always possible.
If you see the source code like you posted then it must be css problem like Vin suggested earlier. Get "web developer" add-on to your firefox browser and spend some time editing css in real time with it. There must be something like "display:none" or "position:absolute;text-indent:-999em" somewhere. You should be able to find it with it.
Re: Menu won't show up
Posted: Thu Jun 07, 2007 10:14 pm
by Dr.CSS
Not sure what other CSS you have attached to this template but you may want to change the 'navi' to primary-nav in the CSS...
Or change the menu template to navi...