Elxis CMS Forum

Support => General => Topic started by: MrEmz on August 19, 2012, 09:47:08

Title: slider module position between header and top menu
Post by: MrEmz on August 19, 2012, 09:47:08
Greetings! :)

How can i create a module position in order for my slider to be put in between header and top menu? Or anyway how to put the slider in header not in frontpage. I created a slider module and put it to header order but it goes in frontpage. My template is okto.
Title: Re: slider module position between header and top menu
Post by: xmanhattan on August 19, 2012, 10:24:52
Hello MrEmz,

You will have to modify index.php and the layout.css, of the template.

You could add a new div just after mainwrap, e.g.
Code: [Select]
<div id="header">then add
Code: [Select]
<?php mosLoadModules(&#39;slider&#39;, -2); ?>
Then you will comment the
Code: [Select]
<div id="headright">
After that you can add in layout.css just above the id oktoheader a new id for header and any css that you need.

Finally because I used the name slider as a module position, you will go to SITE > TEMPLATE MANAGER > MODULE POSITIONS on the menu as admin and add a new position named slider to the list at the end.

After that, go to modules and change the position of the module to slider and that should do it.


Title: Re: slider module position between header and top menu
Post by: MrEmz on August 19, 2012, 11:42:23
That was a fast reply! :) I've learned something. I'll do that and a little editing. Thanks!  :D