Inserting a module position to the line of the horizontal menu


Author Message
George

Posted: 3/23/2009
Quote message 

Hello everyone.

I would like to ask if there is a way to insert a module position to the line that the horizontal menu lies. I know that we have to edit index.php and add something like this

<jdoc:include type="modules" name="user5" />

Where exactly we put such a line? If I want the output to be to the right part of the line while the menu to be at the left what I have to enter? Sorry for such newbie questions... :(

 
George

Posted: 3/23/2009
Quote message 

This could be especially usefull if we would like to add search at the right part of the "menu bar" while the menu tabs lie at the left part. Any thoughts?
 
jennifer

Posted: 3/25/2009
Quote message 

You need to "see" your page in terms of its divs first.

The nav bar takes up 100% of its div which takes up 100% of the page width.

Wrap it in a container div, and set it to take up 75% and then put another div next to it that is 25% width (both inside the container div)

<div class="Sheet-body">
<jdoc:include type="modules" name="user3" />
<div class="Header">

becomes
<div class="Sheet-body">
<div id="newcontainer">
<jdoc:include type="modules" name="user3" />
<div class="width25">
whatever
</div>
</div>
<div class="Header">

don't forget to change the width on the navbar in style.css or else the new div will just drop under

 
Tom

Posted: 3/27/2009
Quote message 

Wow, this is really useful. Jennifer you are doing a superb job here. Thank you very much ;-)

Is it possible to explain us more detailed how to achieve this? I must say that I don't know much for divs, classes and css but I am willing to learn :-)