Page 1 of 1

add module position next to logo

Posted: Wed Oct 19, 2011 10:01 am
by safe77
Hi,

I have added

Code: Select all

<position>position-16</position>
in templateDetails.xml
Also added

Code: Select all

<jdoc:include type="modules" name="position-16" />
in index.php just before line 116

Code: Select all

</div><!-- end logoheader -->
Now adding /?tp=1 to my url I can see the position-16 created by me but it is located below the logo. ( like next line )
Should I create <div id="next-logo "> in index.php
and if that is the case In which css should I add
#next-logo
{float: right;}
ect... ???
Any suggestion will be very much appreciated

Re: add module position next to logo

Posted: Wed Oct 19, 2011 11:12 am
by safe77
Hi again,
following the above topic...
( May other people find the following info helpful ):
I added

Code: Select all

<div id="nextlogo">
<jdoc:include type="modules" name="position-16" />
</div>
in file index.php
line 106 just before

Code: Select all

<h1 id="logo">
Then added in file beez5.css

Code: Select all

#nextlogo
{
float:right;
}
and that's it I got new module position next to logo header ( on same line ) ;)

Any comment or correction on above are welcome!!!

Re: add module position next to logo

Posted: Sun Jan 29, 2012 12:23 pm
by Zinzan4
Hi, thanks for the info this is exactly what I'm looking for (I think (and hope.))

Code: Select all

#nextlogo
{
float:right;
}
Where do I put this code in beez5.css?

Re: add module position next to logo

Posted: Sun Jan 29, 2012 8:50 pm
by safe77
Hi,
It doesn't matter where in beez5.css
you can added it at the end or after line 97

Code: Select all

h1#logo
{
margin:5px 550px 5px 20px;
font-size:3em;



Hope will work for you too!!

Re: add module position next to logo

Posted: Thu Mar 01, 2012 8:58 pm
by Closer
Thanks for sharing Safe77

I was thinking of doing something similar but hadn't got round to it yet! :)

Re: add module position next to logo

Posted: Mon Mar 05, 2012 11:44 am
by safe77
More then welcome!!

Re: add module position next to logo

Posted: Tue Apr 24, 2012 8:04 am
by nickelas
This is great, thanks!
Any idea how to modify it so you can have more than one module in this position?