1. miroslavnovotny
  2. Commercial Templates
  3. Sunday, 04 August 2013
  4.  Subscribe via email
Hello,
i need a little help for my project on J51 - Revelation.

Can you help me to add language swither module to the top right of the page?

Thank you for your templates, awesome work.

Thanks.

Mirek.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Mirek

To do so you will need to create a new module position in this area of your template. To do so locate the following in your templates index.php (../templates/j51_revelation/index.php)..


<div id="header"> 


Directly after it paste the following...


<div id="newmodule">
<jdoc:include type="modules" name="newmodule" />
</div>


You must then style it with the following which you can add to the end of your templates template.css (../templates/j51_revelation/css/template.css)


#header {position: relative;}

#newmodule {
position: absolute;
height:50px;
width:150px;
top:10px;
right:20px;
margin:0;
padding:0;
z-index:99;
}



Edit the above to your own taste in particular top, right. height & width under #newmodule.

And that should be it. You'll find the position won't be listed in the positions dropdown so simply type it in to create (newmodule).

CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks. Excelent work.

Maybe you can try to add "language" module position to all your new templates.

Thanks again.

Mirek.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!