-
AuthorPosts
-
March 14, 2011 at 7:46 pm #161447
Hi i want to add a new module position for a banner (skyscraper) at the right side of the main-content-area, but it must be outside. I have made a layout from my imagination – please look at the JPEG.
I hope anybody could tell me the solution …
Thank you very much!
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
March 15, 2011 at 10:00 am #381449Dear komuniki,
you can try as following
Open the file of templatesja_zeolite_iilayoutsblocksmain.php,add at it’s bottom this HTML Code<?php if($this->countModules(“skyscraper”)) : ?>
<div id=”ja-skyscraper”>
<jdoc:include type=”modules” name=”skyscraper” style=”JAxhtml” />
</div>
<?php endif; ?>Then open the file of templates/ja_zeolite_ii/css/template.css,and add this css
#ja-skyscraper{
position:absolute;
width:150px;
height:500px;
right:-150px;}
Now you have a new module position that name “skyscraper” as you wanted.
I hope this help !1 user says Thank You to Sherlock for this useful post
March 15, 2011 at 1:10 pm #381486Thank you very much dathq,
i only added in the „templateDetails.xml“-file the following text: <position>ja-skyscraper</position>
and i added the Html-Code at the top of the main-php-file, not the bottom. But then it works very well!!!!:)Thanks a lot and many greeting from Würzburg (Germany)
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by komuniki 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How can i add a new module position (for a banner) outside the main content area?
Viewing 3 posts - 1 through 3 (of 3 total)