menu in a own layer

Creating or modifying themes, XHTML/CSS questions.

menu in a own layer

Postby analogbernd » Tue Apr 28, 2009 11:16 am

Hi

I will use a menu in a own <div>.
How can I realize this?

thanks
analogbernd
 
Posts: 106
Joined: Mon Jan 19, 2009 3:51 pm

Re: menu in a own layer

Postby afz » Tue Apr 28, 2009 6:24 pm

plz. more describe what you need
afz
 
Posts: 694
Joined: Sat Apr 12, 2008 1:46 am

Re: menu in a own layer

Postby analogbernd » Tue Apr 28, 2009 8:08 pm

I would like to have a menu in a seperate div like this

Code: Select all
CSS:

#navi {
position: absolute;
z-index: 2;
top:240px;
left:170px;
}


Code: Select all
html:

<div id="navi">
HERE I NEED THE MENU
</div>


Many thanks
analogbernd
 
Posts: 106
Joined: Mon Jan 19, 2009 3:51 pm

Re: menu in a own layer

Postby afz » Wed Apr 29, 2009 1:12 am

for example if your theme has bar1 section and your menu group arranged in this section you can use this:
Code: Select all
#bar1 menu {
position: absolute;
z-index: 2;
top:240px;
left:170px;
}


or if you know your menu group id, you can use this too:
Code: Select all
#gmenu_1 {                /* gmenu_{gid} */
position: absolute;
z-index: 2;
top:240px;
left:170px;
}
afz
 
Posts: 694
Joined: Sat Apr 12, 2008 1:46 am


Return to Themes and Templates

Who is online

Users browsing this forum: No registered users and 3 guests

cron