Avatar jos.bogers asked

change positions in the template and special menuposition

Hi, I wonder who can help me ?
In my website I want to move the horizental mainmenu (include menu-items) to another position , in this case in the top-A position. What do I have to do (perhaps css ?) to get the mainmenu horizental in TOP - B ??

Thank you
Jos

  • Joomla
  • Warp Theme
  • Revista

2 Answers

0

Avatar mustaq Yootheme answered

Firstly, you should Create a new Style . in your new Style, you should open up the layouts/template.php and then Edit it with a code Editor and move the menu div so that is is in the area you want, like below the top-b . Look out for :

<section id="menublock" class="grid-block">

and

<div id="menubar" class="grid-block"> 

A customisation like this is both challenging and rewarding. If you use a Code Editor, moss will highlight the end of a div or section if you click on the opening div or section.

YOOgards

0

Avatar jos.bogers answered

Thank you and Sorry Mustaq ,
I've meant in my question Top-B in stead of Top-a . In Top-a i've located the slider.

Below you will see how I would like it: So the positions


toolbar-l and toolbar-r

breadcrumbs ...( subbar) ............................................ search

top-a here comes the slider


top-b

here comes the mainmenu (menubar) width 980px

This is the php/html

<div id="menubar" class="grid-block">

                        <?php if ($this['modules']->count('menu')) : ?>  
                        <nav id="menu"><?php echo $this['modules']->render('menu'); ?></nav>  
                        <?php endif; ?>  

                        <?php if ($this['modules']->count('search')) : ?>  
                        <div id="search"><?php echo $this['modules']->render('search'); ?></div>  
                        <?php endif; ?>  

                    </div>

<?php if ($this['modules']->count('top-b')) : ?>
<section id="top-b" class="grid-block <?php if ($this['config']->get('wrapper-top-b') ) echo 'wrapped'; ?>"><?php echo $this['modules']->render('top-b', array('layout'=>$this['config']->get('top-b'))); ?></section>
<?php endif; ?>

Where do I move the section <div-id="menubar" class="grid-block"> ..??????????? into the top-b section ..?????
Would you please help me..?
thank you

Jos

Know someone who can answer? Share a link to this question via email or twitter.