-
AuthorPosts
-
skwtayler Friend
skwtayler
- Join date:
- July 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
July 13, 2010 at 10:31 am #152514Hi there,
I would like to add a new menu to the very top of the template as in the attached picture. I did check the documentation but got a little overwhelmed and figured I would put up a post.
Can anyone help out with this?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 15, 2010 at 8:09 am #349982Hello
Pls open the file: templates/ja_pyro/layouts/blocks and try to find the following code:
[PHP]
<?php $this->loadBlock(‘usertools/screen’) ?>
[/PHP]
replace:
[PHP]<?php if( $this->countModules(‘right-top’) ) : ?>
<div class=”right-top”>
<jdoc:include type=”modules” name=”right-top” style=”JAxhtml” />
</div>
<?php endif; ?>
[/PHP]
2) add the following code into the template.css file:.right-top{
position:absolute;
top:10px;
right:20px
}3) you put modules on the right-top position
GOodluck
skwtayler Friendskwtayler
- Join date:
- July 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
joomboom Friendjoomboom
- Join date:
- November 2007
- Posts:
- 144
- Downloads:
- 8
- Uploads:
- 6
- Thanks:
- 13
- Thanked:
- 2 times in 1 posts
July 22, 2010 at 8:40 pm #350481<em>@tienhc 186569 wrote:</em><blockquote>Hello
Pls open the file: templates/ja_pyro/layouts/blocks and try to find the following code:
[PHP]
<?php $this->loadBlock(‘usertools/screen’) ?>
[/PHP]
replace:
[PHP]<?php if( $this->countModules(‘right-top’) ) : ?>
<div class=”right-top”>
<jdoc:include type=”modules” name=”right-top” style=”JAxhtml” />
</div>
<?php endif; ?>
[/PHP]
2) add the following code into the template.css file:.right-top{
position:absolute;
top:10px;
right:20px
}3) you put modules on the right-top position
GOodluck</blockquote>
You also have to include it in the TemplateDetails.xml:)). Thank you!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 27, 2010 at 1:34 am #350788Hello skwtayler!
Can you pls give me the link to your site thanks
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 3 voices, and was last updated by Saguaros 14 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Add module position to top of template
Viewing 5 posts - 1 through 5 (of 5 total)